Support

Home Forums Event Espresso Premium WordPress: There has been a critical error on this website.

WordPress: There has been a critical error on this website.

Posted: August 7, 2023 at 8:31 pm

Viewing 16 reply threads


JerryMc

August 7, 2023 at 8:31 pm

Receiving the following error: There has been a critical error on this website. Please check your site admin email inbox for instructions.

All older Events are not visible. But the Events reflect View All Events(378)|Draft(1)|Trash(97)|Today(0)|This Month(2)
WordPress Version: 6.2.2
PHP Version: 7.4.33
MySQL Version: 5.5.5
Event Espresso Version: 5.0.8.p

We updated all our site software, including the Event Espresso plugin, today, so it might be the latest version of the plugin causing it.


JerryMc

August 7, 2023 at 8:36 pm

Error Details
=============
An error of type E_ERROR was caused in line 1156 of the file /home/cardunal/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php. Error message: Uncaught TypeError: Typed property EE_Model_Field_Base::$_table_alias must be string, null used in /home/cardunal/public_html/wp-includes/functions.php:649
Stack trace:
#0 /home/cardunal/public_html/wp-includes/functions.php(649): unserialize(‘a:3:{s:5:”email…’)
#1 /home/cardunal/public_html/wp-includes/option.php(253): maybe_unserialize(‘a:3:{s:5:”email…’)
#2 /home/cardunal/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Message_Resource_Manager.lib.php(495): get_option(‘ee_active_messe…’, Array)
#3 /home/cardunal/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Message_Resource_Manager.lib.php(579): EE_Message_Resource_Manager->get_active_messengers_option(true)
#4 /home/cardunal/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Message_Resource_Manager.lib.php(153): EE_Message_Resource_Manager->_set_active_messengers_and_message_types()
#5 /home/cardunal/public_html/wp-content/plugins/event-espresso-cor


Tony

  • Support Staff

August 8, 2023 at 4:37 am

Hi there,

I’m not reproducing this on my test sites, could I take a look at the site to see if I can find out what is going on with this?

If so I’ll need WP-Admin and FTP credentials to add some debug code on the above methods, the stack trace doesn’t lead anywhere for this, unfortunately.

You can send those over using this form:

https://eventespresso.com/send-login-details/


JerryMc

August 8, 2023 at 9:36 am

Just got this back from our WordPress support:

It looks like the plugin isn’t compatible with PHP 7.4 plus. here is the error it is throwing:

Fatal error: Uncaught TypeError: Typed property EE_Model_Field_Base::$_table_alias must be string, null used in /home/cardunal/public_html/wp-includes/functions.php:649

If I try to roll the site back to an earlier PHP version it causes different errors with plugins not compatible with those. I’d suggest contacting the events plugin developer to see if they have updates.


Tony

  • Support Staff

August 8, 2023 at 11:29 am

It looks like the plugin isn’t compatible with PHP 7.4 plus.

That’s incorrect, we have a minimum required PHP version of 7.4

If I try to roll the site back to an earlier PHP version it causes different errors with plugins not compatible with those.

That also won’t fix the issue within Event Espresso.

I’d suggest contacting the events plugin developer to see if they have updates.

I need to be able to reproduce this or at least see what is causing it, its not happening on my test sites (I have many) so I’d like to add some code to the site to take a look.


Mike Compton

August 9, 2023 at 9:00 am

I am also having this issue and I’ve tried downloading the plugin and reinstalling but that didn’t fix the issue either.


Mike Compton

August 9, 2023 at 9:09 am

PHP Compatibility Checker says this:
EE adds JavaScript to show the payment options automatically.
Response status: 400
Message: Request has validation errors
The audit project version is required.


Tony

  • Support Staff

August 9, 2023 at 9:10 am

Getting exactly the same error even after redownloading?

Do you have the full stack trace like above?


Mike Compton

August 9, 2023 at 9:31 am

This reply has been marked as private.


Tony

  • Support Staff

August 9, 2023 at 10:00 am

Hmm, yeah looks like you don’t have the latest changes.

Try reinstalling the plugin one more time, if that doesn’t work I’ll need FTP credential to investigate what is happening further.


Mike Compton

August 9, 2023 at 10:22 am

I tried it again and that didn’t fix the issue. I also tried updating the PHP version to 8 but that broke my whole site.


Tony

  • Support Staff

August 9, 2023 at 10:29 am

I tried it again and that didn’t fix the issue.

With exactly the same stack trace?

I also tried updating the PHP version to 8 but that broke my whole site.

Event Espresso is PHP8.0 compatible, higher versions it depends, but what specific error did you get?


Mike Compton

August 9, 2023 at 10:35 am

This reply has been marked as private.


Tony

  • Support Staff

August 9, 2023 at 10:43 am

You can use this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

August 9, 2023 at 11:40 am

Hi Mike,

I checked and you don’t have the latest changes.

Can you please re-download the latest version from your account page and reupload via Dashboard -> Plugins -> Add New -> Upload plugin.

Replace the current version with that version when asked and it should resolve the fatal error you are reporting.


Mike Compton

August 9, 2023 at 12:41 pm

@tony that fixed it. I don’t know why downloading it again changed anything but it is working. Thanks


Tony

  • Support Staff

August 9, 2023 at 3:11 pm

I’m not sure either to be honest, cached possibly? (although we don’t have caching on the downloads themselves)

either way, I’m glad it’s working.

Any further issues please let me know.

Viewing 16 reply threads

The support post ‘WordPress: There has been a critical error on this website.’ 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