Support

Home Forums Event Espresso Premium PHP 7 Compatibility

PHP 7 Compatibility

Posted: January 23, 2016 at 4:20 pm


chrisscottuk

January 23, 2016 at 4:20 pm

Hi Event Espresso,

Now that PHP 7 is official, I thought I’d give it a go to see if the performance improvements are as dramatic as rumored.

I activated PHP 7.02 on my server, but I get the below fatal error:
(I have replaced sensitive data with [removed])

Fatal error: Uncaught Error: Call to a member function init_caps() on null in [removed]plugins/event-espresso-core-reg/core/EE_System.core.php:181 Stack trace: #0 [removed]wp-includes/plugin.php(525): EE_System->load_espresso_addons(”) #1 /[removed]wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(140): do_action(‘AHEE__EE_Bootst…’) #2 [removed]wp-includes/plugin.php(525): EE_Bootstrap::load_espresso_addons(”) #3 [removed]wp-settings.php(276): do_action(‘plugins_loaded’) #4 [removed]wp-config.php(87): require_once(‘[removed]…’) #5 [removed]wp-load.php(37): require_once(‘[removed]…’) #6 [removed]wp-admin/admin.php(31): require_once(‘[removed]…’) #7 [removed]wp-admin/index.php(10): require_once(‘[removed]…’) #8 in [removed]wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php on line 181


chrisscottuk

January 23, 2016 at 4:21 pm

I have since downgraded back to PHP 5.6 and it all works again.
Any ideas how to resolved this fatal error on PHP7, as I’m keen to test out the reputed performance improvements


Lorenzo Orlando Caum

  • Support Staff

January 24, 2016 at 6:00 pm

Hi Chris,

Event Espresso 4 has not been tested with PHP 7 or HHVM at this time. For now, please continue to use a prior version of PHP.


Lorenzo


chrisscottuk

January 24, 2016 at 6:57 pm

Hi Lorenzo,

Thanks for the quick response.
I hope that this will be resolved quickly.

In the meantime, it might be worth revising the requirements page on your website, as it simply says 5.3.9+ which before Php 7 came out of beta wasn’t a problem but now it’s official some disappointment might occur amongst your potential new customers.

Kind Regards,


Lorenzo Orlando Caum

  • Support Staff

January 25, 2016 at 8:10 am

Thanks Chris. We saw another report come through this morning so I’ve updated the ticket for this issue and updated our requirements page with a note below the table.


Lorenzo

The support post ‘PHP 7 Compatibility’ 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  Lorenzo Orlando Caum 3 years, 9 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.