Posted: November 18, 2021 at 4:25 pm
I have logged this error 15 hours ago – it has crashed my website – assistance please |
|
Hi there, We are working on releasing an update to fix the issue right now. It should be available soon (an hour or two). |
|
Hi there, Which error did you log? We have just pushed v4.10.17.p live, could you please update to that version and confirm if this still happens? If you don’t see the update available in Dashboard -> Plugins for Event Espresso then go to: Event Espresso -> General Settings. Don’t make any changes and just hit save to force a version check. It should then show the update available. |
|
I cant access my website at all – the website reads Fatal error: Uncaught TypeError: Argument 1 passed to EventEspresso\core\services\request\CurrentPage::__construct() must be an instance of EE_CPT_Strategy, null given in /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/services/request/CurrentPage.php:68 Stack trace: #0 [internal function]: EventEspresso\core\services\request\CurrentPage->__construct(NULL, Object(EventEspresso\core\services\request\Request)) #1 /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1275): ReflectionClass->newInstanceArgs(Array) #2 /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(784): EE_Registry->_create_object(‘EventEspresso\\c…’, Array, ”, false) #3 /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(116): EE_Registry->create(‘EventEspresso\\c…’, Array, true, false, false, ”) #4 /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingL in /home/zimei/public_html/wp-content/plugins/event-espresso-core-reg/core/services/request/CurrentPage.php on line 68 |
|
Hmm, strange. So either there’s is a plugin conflict or WordPress failed to update the Event Espresso plugin files correctly and now you have missing files. Do you have FTP credentials? I’ll take a look at this if you can send them over using this form: |
|
in recovery mode – Version 4.10.16.p – i cant seem to update to the newer version |
|
Yeah you’ll need FTP access to fix this, or some form of File Manager if you host has one? |
|
Not sure re FTP credentials – use cPanel |
|
With cPanel you have the option for either. On the main page will be ‘File Manager’, the problem is I can’t direct you on exactly where to go from there as it depends on how your host is set up. Usually file manager will open up root, so your looking for either a Find the That will deactivate Event Espresso on your site and get you back into the admin. — You’ll also usually have the option to create FTP accounts through cPanel. On the cPanel main page you’ll see ‘FTP Accounts’ The ‘login’ is the username, it can be whatever you want. Set the domain to be the correct site (if it allows you to set it) Set a strong password (make sure you note it down so you can send it over) In the ‘directory’ section, make sure whatever you can set it empty, that gives the account access to everything. Create the account and send me the details you just used on the forum again. I’ll use those to find the directory I mentioned above. |
|
i think i have created a FTP account and sent to you via form |
|
Almost, looks like you created an account with access to a specific directory so all I have access to is an empty directory. Edit the account and make sure the directory section is empty: |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi there, Apologies for the delayed reply, we’ve been working on a couple of issues along with your trying to narrow down the cause. I switched your site back over to 4.10.13.p so that you site was at back up and running whilst we investigated further and worked through the code. Currently, I can’t reproduce this locally, I’ve tried with all of the same plugins I can test with but still no fatal. I’d like to add some additional debugging code to your site and switch back to the newer version again to see if that helps narrow it down some. Just checking if that’s ok? (Note I’ll switch the site back to 4.10.13.p again when finished to keep it up for the time being)
Right now, yes, but we are investigating the cause to hopefully find a fix. It’s difficult to troubleshoot without reproducing locally. |
|
This reply has been marked as private. | |
Hi Leisha, We spent some time digging into this had managed to reproduce the problem and find the cause. It’s the version of PHP currently installed on the server causing this. Your server is currently running PHP7.0.33, that version of PHP has been end of life (eol) since Jan 2019 and I highly recommend the server is updated to use a newer version. So I recommend contacting your host and have them update the version of PHP in use on the server to PHP7.4 (at the time of writing the latest is 7.4.26). Once they’ve updated PHP you should then be able to update Event Espresso without issue. Note – the highest version of PHP is currently PHP8, however, I do not recommend using it right now as it has a lot of ‘breaking’ changes for code that was previously perfectly valid, so a lot of plugins (including Event Espresso) are not fully compatible with it yet. Currently, there are a few versions of Event Espresso installed on your site and I recommend removing all of them except the currently active 4.10.13.p version, then once the version of PHP has been updated simply update that version of EE. |
|
The support post ‘Critical Error on Website due to EE plugin update’ 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.