Posted: May 28, 2023 at 9:09 am
Running WP 6.2.2 and EE v5.0.6.p on Nginx web server When trying to preview messages, get this error. “There has been a critical error on this website. Learn more about troubleshooting WordPress.” With WP Debug turned on, see this A RuntimeException was thrown! code: EE_Admin_Page – _route_admin_request – 1150 Page route “_preview_message” with the supplied arguments () threw the following exception: Call to a member function get() on null click to view backtrace and class/method details Warning: Cannot modify header information – headers already sent by (output started at /www/xxx/public/wp-content/plugins/event-espresso-core-reg/core/exceptions/ExceptionStackTraceDisplay.php:82) in /www/xxx/public/wp-admin/includes/misc.php on line 1431 Warning: Cannot modify header information – headers already sent by (output started at /www/xxx/public/wp-content/plugins/event-espresso-core-reg/core/exceptions/ExceptionStackTraceDisplay.php:82) in /www/xxx/public/wp-includes/functions.php on line 6896 Warning: Cannot modify header information – headers already sent by (output started at /www/xxx/public/wp-content/plugins/event-espresso-core-reg/core/exceptions/ExceptionStackTraceDisplay.php:82) in /www/xxx/public/wp-admin/admin-header.php on line 9 Server Error log PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /www/xxx/public/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php:363 Stack trace: #0 /www/xxx/public/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Base_Class.class.php(190): EE_Base_Class->set(‘ATT_ID’, ‘999999991’, true) |
|
Also unable to send test messages. Same errors. |
|
Hi there, We found the cause of this and fixed it in version 5.0.7.p which has now been pushed live. If you don’t see the update available o your site yet just go to Event Espresso -> General Settings. Make no changes and just hit save to force an update check. The update should then show in Dashboard -> Plugins as usual. |
|
Thanks Tony. Everything is working now. |
|
Awesome, thanks for the update 🙂 Any further issues just let us know. |
|
The support post ‘Unable to Preview Messages’ 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.