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.
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+
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”.
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.
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).
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 🙁
True. I’ll have to see what options I have on their end. Thanks for your help!
Viewing 8 reply threads
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.