Posted: 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) We updated all our site software, including the Event Espresso plugin, today, so it might be the latest version of the plugin causing it. |
|
Error Details |
|
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: |
|
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. |
|
That’s incorrect, we have a minimum required PHP version of 7.4
That also won’t fix the issue within Event Espresso.
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. |
|
I am also having this issue and I’ve tried downloading the plugin and reinstalling but that didn’t fix the issue either. |
|
PHP Compatibility Checker says this: |
|
Getting exactly the same error even after redownloading? Do you have the full stack trace like above? |
|
This reply has been marked as private. | |
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. |
|
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. |
|
With exactly the same stack trace?
Event Espresso is PHP8.0 compatible, higher versions it depends, but what specific error did you get? |
|
This reply has been marked as private. | |
You can use this form: |
|
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. |
|
@tony that fixed it. I don’t know why downloading it again changed anything but it is working. Thanks |
|
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. |
|
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.