Support

Home Forums Event Espresso Premium PHP 7 breaks Event Espresso

PHP 7 breaks Event Espresso

Posted: August 31, 2017 at 9:01 am


SeaLight

August 31, 2017 at 9:01 am

Is there an update that will make Event Espresso compatible with PHP 7? My host (SiteGround) has a plugin which checks for PHP 7 compatibility issues and it says it’s compatible but once I enable PHP 7, my website crashes. My host said that there are errors that their plugin is not catching and Event Espresso is causing the crash. Once I revert back to PHP 5.6, everything works fine.


Josh

  • Support Staff

August 31, 2017 at 9:02 am

Hi there,

May I ask are you using an older version of Event Espresso? The reason I ask is we use PHP 7 and PHP 7.1 to test Event Espresso and the current versions are compatible with PHP 7+


SeaLight

August 31, 2017 at 9:20 am

Hey Josh. Everything is up to date. Plugin List


Josh

  • Support Staff

August 31, 2017 at 9:34 am

OK the other thing to check is whether the server has Opache or APC activated when it’s on PHP 7. It will be evident whether it’s a bytecode caching engine issue if the errors they’re seeing say things like “class not found”.

See also:
https://stackoverflow.com/questions/26320832/opcache-causes-php-fatal-error-class-xa0l-xdaor-x7f-not-found


SeaLight

August 31, 2017 at 10:56 am

Ordering to the live chat agent: “They are enabled by default, still, you could check in CPanel > PHP variables and add extensions if needed.” And they said I needed to consult with the plugin developer for compatibility.


Josh

  • Support Staff

August 31, 2017 at 11:01 am

Event Espresso isn’t compatible with the bytecode caching engines, if that’s what they were asking. You’ll need to deactivate bytecode caching (Opache or APC).


SeaLight

August 31, 2017 at 11:22 am

Thanks Josh. “PHP 7 comes with Opcache and it can not be disabled, at least not on a shared server. If you don’t want Opcache enabled, you should use a lower version of PHP.” So it looks like I’ll have to remain on PHP 5.6 🙁


Josh

  • Support Staff

August 31, 2017 at 11:40 am

Or you could get onto a hosting plan that has PHP 7 without the bytecode caching. That’s more of a limitation of your current hosting plan.


SeaLight

August 31, 2017 at 11:46 am

True. I’ll have to see what options I have on their end. Thanks for your help!

The support post ‘PHP 7 breaks Event Espresso’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  SeaLight 1 year, 10 months ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!