Posted: January 4, 2023 at 12:16 pm
Capitalwineschool.com is using EE for course registrations. For several weeks now users have intermittently been receiving an error message when they try to register for courses. All plugins and themes are up to date. I’ve been trying to troubleshoot with my host, but they are not seeing any resource exhaustion on the site that would cause a 5xx error |
|
I’m trying to post a screenshot. It appears broken in my initial post. |
|
Hi there, When you get the above it would usually add a log entry to your PHP error logs, have you checked those for any ‘fatal errors’? |
|
[04-Jan-2023 07:10:01] WARNING: [pool site-capitalwineschool.com] child 583 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: Return value of EE_Venue::country_ID() must be of the type string, null returned in /www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Venue.class.php:204” [04-Jan-2023 16:24:28] WARNING: [pool site-capitalwineschool.com] child 2711 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: Return value of EE_Venue::country_ID() must be of the type string, null returned in /www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Venue.class.php:204” [04-Jan-2023 16:24:33] WARNING: [pool site-capitalwineschool.com] child 2702 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: Return value of EE_Venue::country_ID() must be of the type string, null returned in /www/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Venue.class.php:204” |
|
Hi there. Checking in here. Let me know if you saw my last message. |
|
Hi there, Apologies for the delayed reply, I’ve created a ticket to fix the above in the next version of Event Espresso, I can give you a fix to apply on the site now if preferred?
Line 204 should be something like:
Change that to be:
|
|
I’ve made the updates that you mentioned. I let my client know and gave her some time to see if their customers were still having trouble. I received a message from her yesterday that people were still having issues. This is what someone said “I attempted to register for the D2 diploma online class starting on 1/24 today but received an error message: “critical wordpress error.”” I downloaded the logs again, but there were no FATAL errors reported, of course they might not capture that exact attempt, since the logs only report part of yesterday. |
|
Without the error being thrown I can’t tell what is happening or where to look (there are over 1 million lines of code within Event Espresso) so I need the error from the logs to be able to investigate. If the errors are not logged in the PHP error logs, you could try adding this snippet: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug To your sites
Which is usually in the above and it tells WordPress to log the errors in a location we can view. |
|
The support post ‘WordPress critical error’ 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.