Compatibility with PHP7
-
Hi Event Espresso Team,
I have used your plugin and I have done many customizations in your plugin files as requested by my client.
At starting first I have PHP5 and now our hosting provider updated PHP version 7 so I am getting this error
” Warning: Creating default object from empty value in /home/myiapra1/public_html/wp-content/plugins/event-espresso-decaf/modules/ticket_selector/EED_Ticket_Selector.module.php on line 123Fatal error: Uncaught Error: Call to a member function get() on null in /home/myiapra1/public_html/wp-content/plugins/event-espresso-decaf/core/EE_Front_Controller.core.php:240 Stack trace: #0 /home/myiapra1/public_html/wp-includes/class-wp-hook.php(298): EE_Front_Controller->_initialize_shortcodes(Object(WP)) #1 /home/myiapra1/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/myiapra1/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/myiapra1/public_html/wp-includes/class-wp.php(386): do_action_ref_array(‘parse_request’, Array) #4 /home/myiapra1/public_html/wp-includes/class-wp.php(733): WP->parse_request(”) #5 /home/myiapra1/public_html/wp-includes/functions.php(955): WP->main(”) #6 /home/myiapra1/public_html/wp-blog-header.php(16): wp() #7 /home/myiapra1/public_html/index.php(17): require(‘/home/myiapra1/…’) #8 {main} thrown in /home/myiapra1/public_html/wp-content/plugins/event-espresso-decaf/core/EE_Front_Controller.core.php on line 240 ”
So my site is not working. I have referred some questions and do some R&D and found out that your Latest version is work perfect with PHP7 but I have 4.7.12.decaf version.
As my hosting provider does want us to update PHP version with 7 or he will stop with older PHP version so we need to update PHP version, but we don’t want to lose the customization so we need to continue with event espresso 4.7.12.
Could you please help me and let me know that what changes I can make in this version to make it compatible with PHP7.?
Thanks,
Hitesh.
- The topic ‘Compatibility with PHP7’ is closed to new replies.