Support

Home Forums Event Espresso Premium Registration email doesn't arrive

Registration email doesn't arrive

Posted: May 16, 2017 at 3:33 am

Viewing 20 reply threads


greyowl

May 16, 2017 at 3:33 am

This used to work a week or two ago. Now, when I register for an event and enter all the required info, click ‘Payment options’, select ‘Invoice’ (no other choice) and click ‘Finalize Registration’, I’m asked to wait, then told my registration was successful. But no registration email arrives. I can click to display the confirmation or the invoice (these work). If I click ‘resend email’, I get the error message: ‘An unknown error occurred on the server while attempting to process your request. Please refresh the page and try again.’
I’m not aware of having changed anything that might have caused this; just been editing the German translation of various standard messages.


Tony

  • Support Staff

May 16, 2017 at 8:57 am

Hi there,

Can you see your message being generated within Event Espresso -> Messages -> message activity?

If so what colour ‘status bar’ does the message have on the left of the page?


greyowl

May 16, 2017 at 9:39 am

No, the last entry is from 9th May, when it was still working.


Josh

  • Support Staff

May 16, 2017 at 1:54 pm

If you have access to the servers error logs you can check for when you saw the “unknown” error and find the PHP error that was logged then. There may be a PHP fatal error that gets thrown when those emails get processed.


greyowl

May 16, 2017 at 2:28 pm

I guess I do have access to the server but don’t know where to find the error logs


Josh

  • Support Staff

May 16, 2017 at 2:35 pm

You can contact your hosting support to find out where those are located.


greyowl

May 16, 2017 at 2:41 pm

I searched for ‘error’ and found these: Files called 'error'
But the file /public_html/EvMgr/wp-admin/error_log was last updated in February and the others aren’t log files. Can you give me a clue what that log file might be called or where it could be located?


Josh

  • Support Staff

May 16, 2017 at 2:45 pm

I can guess, but please understand that the location of a server’s error log will vary from server to server, and I do not know where your server’s error log is located.

So a potential place for your server’s PHP error log may be in the root directory or within a /logs/ directory.

You can also activate WordPress WP_DEBUG_LOG, which will log errors to a debug.log file located in the /wp-content/ folder. Here’s a link to the documentation that shows how:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


greyowl

May 16, 2017 at 2:57 pm

WP_DEBUG_LOG was already activated. I found the file /wp-content/debug.log. Here are today’s entries:
[16-May-2017 09:14:09 UTC] PHP Notice: Undefined offset: 1 in /home/lernenim/public_html/EvMgr/wp-admin/includes/dashboard.php on line 1227
[16-May-2017 09:56:52 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lernenim/public_html/EvMgr/wp-content/uploads/espresso/templates/espresso-events-table-template-toggle.template.php on line 129
[16-May-2017 09:58:02 UTC] PHP Notice: Undefined index: From in /home/lernenim/public_html/EvMgr/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/templates/newsletter-send-form.template.php on line 44
[16-May-2017 09:58:02 UTC] PHP Notice: Undefined index: Subject in /home/lernenim/public_html/EvMgr/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/registrations/templates/newsletter-send-form.template.php on line 53
[16-May-2017 10:35:01 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lernenim/public_html/EvMgr/wp-content/uploads/espresso/templates/espresso-events-table-template-toggle.template.php on line 129
[16-May-2017 10:49:16 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/lernenim/public_html/EvMgr/wp-content/uploads/espresso/templates/espresso-events-table-template-toggle.template.php on line 129
[16-May-2017 11:56:19 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:00:21 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:36:19 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:36:29 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:36:40 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:36:48 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:37:04 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:38:21 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:40:41 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:41:27 UTC] PHP Notice: Array to string conversion in /home/lernenim/public_html/EvMgr/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/strategies/normalization/EE_Text_Normalization.strategy.php on line 50
[16-May-2017 12:42:18 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478
[16-May-2017 12:42:38 UTC] PHP Notice: Array to string conversion in /home/lernenim/public_html/EvMgr/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/strategies/normalization/EE_Text_Normalization.strategy.php on line 50
Can you make any sense of this?


greyowl

May 17, 2017 at 3:45 am

I have also switched on the EE full logging option but it doesn’t tell me much.


greyowl

May 17, 2017 at 3:47 am

debug.log now shows:

[17-May-2017 09:19:18 UTC] PHP Notice: Undefined offset: 1 in /home/lernenim/public_html/EvMgr/wp-admin/includes/dashboard.php on line 1227
[17-May-2017 09:38:06 UTC] PHP Notice: Trying to get property of non-object in /home/lernenim/public_html/EvMgr/wp-content/plugins/restrict-user-access/lib/wp-content-aware-engine/core.php on line 478


greyowl

May 17, 2017 at 5:57 am

Test emails arrive OK, but not the Registration Confirmation. And when I click ‘resend email’, I get the error message: ‘An unknown error occurred on the server while attempting to process your request. Please refresh the page and try again.’


Josh

  • Support Staff

May 17, 2017 at 1:49 pm

@greyowl, were any of those PHP notices logged at the exact moment that you tried to send the emails? In any case, a PHP notice will not cause an error that says: “An unknown error occurred on the server while attempting to process your request. Please refresh the page and try again or contact support.”

If you do not see any fatal errors being logged, you can contact your host and ask them if they’re able to see the unknown error that occurred on the server when you tried to send those emails.


greyowl

May 18, 2017 at 5:29 am

The host support found the following error messages. Do they tell you something? I’ve also turned on PHP logging but see no errors when I perform a registration.
[I don’t seem to be able to submit these error messages. I’ll try below.]


greyowl

May 18, 2017 at 5:31 am

/usr/local/apache/logs/error_log.2.gz:2017-05-16 10:36:36.865 [INFO] [62.202.221.4:36271#APVH_evmgr.lernen-im-quartier.ch]


greyowl

May 18, 2017 at 5:33 am

How can I send the error messages? When I enter them here they aren’t accepted. Is there an email address I can use?


Josh

  • Support Staff

May 18, 2017 at 6:52 am

You can put the error messages in a pastebin or into a gist. Then post the link to the messages here. Then once we’ve seen them they can be deleted.


greyowl

May 18, 2017 at 6:59 am

Can you see this?
https://drive.google.com/open?id=1dNfqBGXbqBJ3wYGhV9zduyJ15kY4pMR6LZW7OimDp78


Josh

  • Support Staff

May 18, 2017 at 7:23 am

Yes I can see it, however I do not see error messages there. There are a few PHP notices included there, but no error messages.

Since you mentioned that this was working a week or two ago, can you check with your host to see if they’ve made any changes to the server since then?


greyowl

May 18, 2017 at 7:39 am

This problem occurs on a sub-website, which I am developing. The main site, which is live, doesn’t use EE and is working, so I can’t imagine any change on the server site is responsible. Surely there must be someone who can see exactly what is (not) happening. Would you like access to my development site?


Josh

  • Support Staff

May 18, 2017 at 7:43 am

I understand. Then you’ll need to undo the changes that you made while developing the sub website since the time things were working.

Viewing 20 reply threads

The support post ‘Registration email doesn't arrive’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso