Support

Home Forums Event Espresso Premium Event Espresso update 4.10.30 causing critical PHP error

Event Espresso update 4.10.30 causing critical PHP error

Posted: May 30, 2022 at 1:55 pm

Viewing 1 reply thread


davidmambopro

May 30, 2022 at 1:55 pm

I currently have no access to my WordPress admin, except to use the recovery mode link in the automatically generated email that wordpress sends out after the error. This happened last night immediately after executing the Event Espresso update (4.10.30) that was listed in wordpress backend. My web developer confirmed that the update has broken the current version of PHP. Complete error is below:

Error Details
=============
An error of type E_PARSE was caused in line 4159 of the file /home/mambopro/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php. Error message: syntax error, unexpected ‘?’, expecting variable (T_VARIABLE)


Tony

  • Support Staff

May 31, 2022 at 5:30 am

Hi there,

That error means your server is using PHP7.0.XX

PHP7.0 is now end of life and no longer officially supported since 1 Jan 2019, see here:

https://www.php.net/supported-versions.php

The above fatal error is from Event Espresso using Nullable Types which is a feature available within PHP7.1+

I recommend contacting your host and have them update/switch the version of PHP in use on the site to PHP7.4.XX. Currently, the latest version number is PHP8.X however Event Espresso is not fully compatible with that version, so PHP7.4 is the most up to date version you can use.

Viewing 1 reply thread

The support post ‘Event Espresso update 4.10.30 causing critical PHP 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.

Event Espresso