Posted: 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.’ |
|
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? |
|
No, the last entry is from 9th May, when it was still working. |
|
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. |
|
I guess I do have access to the server but don’t know where to find the error logs |
|
You can contact your hosting support to find out where those are located. |
|
I searched for ‘error’ and found these: |
|
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 |
|
WP_DEBUG_LOG was already activated. I found the file /wp-content/debug.log. Here are today’s entries: |
|
I have also switched on the EE full logging option but it doesn’t tell me much. |
|
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 |
|
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.’ |
|
@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. |
|
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. |
|
/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] |
|
How can I send the error messages? When I enter them here they aren’t accepted. Is there an email address I can use? |
|
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. |
|
Can you see this? |
|
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? |
|
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? |
|
I understand. Then you’ll need to undo the changes that you made while developing the sub website since the time things were working. |
|
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.