Support

Home Forums Event Espresso Premium Fatal Error upgrading to PHP or 8.2 in WP-Engine

Fatal Error upgrading to PHP or 8.2 in WP-Engine

Posted: September 20, 2023 at 8:06 pm

Viewing 4 reply threads


teotrainingltd

September 20, 2023 at 8:06 pm

Hello!We are upgrading our website to PHP 8.2 and our EE version is giving us a fatal error. We had to downgrade our PHP version to 7.4 and need this to be upgraded else Wp-Engine stops supporting our website.

PHP version 8.2.10
WP 6.3.1

The error we receive is
Fatal error: Uncaught RuntimeException: Invalid arguments supplied for the EventEspresso\AutomatedUpcomingEventNotifications\domain\Domain class, 2 were required but 0 were passed. in /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php:1295 Stack trace: #0 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object(‘EventEspresso\\A…’, Array, ”, false) #1 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(109): EE_Registry->create(‘EventEspresso\\A…’, Array, true, false, false, ”) #2 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load(‘EventEspresso\\A…’, Array, true) #3 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load(‘EventEspresso\\A…’, Array, true) #4 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1476): EventEspresso\core\services\loaders\Loader->load(‘EventEspresso\\A…’, Array, true) #5 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1410): EE_Registry->_resolve_dependency(‘EventEspresso\\A…’, ‘EventEspresso\\A…’, Array, 1) #6 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1261): EE_Registry->_resolve_dependencies(Object(ReflectionClass), ‘EventEspresso\\A…’, Array) #7 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object(‘EventEspresso\\A…’, Array, ‘addon’, false) #8 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(109): EE_Registry->create(‘EventEspresso\\A…’, Array, true, false, false, ‘addon’) #9 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load(‘EventEspresso\\A…’, Array, true) #10 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load(‘EventEspresso\\A…’, Array, true) #11 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load(‘EventEspresso\\A…’, Array) #12 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/libraries/plugin_api/EE_Register_Addon.lib.php(1012): EventEspresso\core\services\loaders\Loader->getShared(‘EventEspresso\\A…’, Array) #13 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/libraries/plugin_api/EE_Register_Addon.lib.php(344): EE_Register_Addon::_load_and_init_addon_class(‘Automated_Upcom…’) #14 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/eea-automated-upcoming-event-notifications-pr/domain/AutomatedUpcomingEventNotifications.php(77): EE_Register_Addon::register(‘Automated_Upcom…’, Array) #15 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/eea-automated-upcoming-event-notifications-pr/bootstrap.php(51): EventEspresso\AutomatedUpcomingEventNotifications\domain\AutomatedUpcomingEventNotifications::registerAddon(Object(EventEspresso\AutomatedUpcomingEventNotifications\domain\Domain)) #16 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(310): {closure}(”) #17 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #18 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #19 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/services/addon/AddonManager.php(81): do_action(‘AHEE__EE_System…’) #20 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(404): EventEspresso\core\services\addon\AddonManager->loadAddons() #21 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(310): EE_System->load_espresso_addons(”) #22 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #23 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #24 /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(23): do_action(‘AHEE__EE_Bootst…’) #25 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(310): EE_Bootstrap::load_espresso_addons(”) #26 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #27 /Users/User1/Local Sites/teo-events-stage/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #28 /Users/User1/Local Sites/teo-events-stage/app/public/wp-settings.php(495): do_action(‘plugins_loaded’) #29 /Users/User1/Local Sites/teo-events-stage/app/public/wp-config.php(103): require_once(‘/Users/User1…’) #30 /Users/User1/Local Sites/teo-events-stage/app/public/wp-load.php(50): require_once(‘/Users/User1_Bo…’) #31 /Users/User1/Local Sites/teo-events-stage/app/public/wp-admin/admin.php(34): require_once(‘/Users/User1…’) #32 /Users/User1/Local Sites/teo-events-stage/app/public/wp-admin/plugins.php(10): require_once(‘/Users/User1…’) #33 {main} thrown in /Users/User1/Local Sites/teo-events-stage/app/public/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php on line 1295
There has been a critical error on this website. Please check your site admin email inbox for instructions.


Garth

  • Support Staff

September 20, 2023 at 9:20 pm

Just wondering? What version of Event Espresso are you using? If not the latest, could you upgrade? We (and other users) are also using PHP 8.2 with the recent versions.


teotrainingltd

September 22, 2023 at 1:43 am

We uploaded all the latest versions of the plugin and the one that is causing us issues is Infusionsoft Integration v2.2.3.p. The moment we upload this plugin add on, the editing window changes to white and all text within a window changes to white. So we cannot edit the event or make modifications.


teotrainingltd

September 22, 2023 at 1:45 am

We uploaded all the latest versions of the plugin and the one that is causing us issues is Infusionsoft Integration v2.2.3.p. The moment we upload this plugin add on, the editing window changes to white and all text within a window changes to white. So we cannot edit the event or make modifications. Anyone else having the same problem?


teotrainingltd

September 25, 2023 at 4:16 pm

We went through every plugin and its clearly the Infusionsoft Integration v2.2.3p plugin which is causing the issue. It gives us a White screen on the Editor window and we are not able to create our events.
Any support is welcome.


Rio

  • Support Staff

September 26, 2023 at 5:40 am

Can we do a little troubleshooting.

You can use https://wordpress.org/plugins/health-check/ or any similar plugin.

You can do the above using Troubleshooting mode:

Tools -> Site Health -> Troubleshooting -> Enabled Troubleshooting mode.

That will disable all plugins and switch to a default theme and then allow you to enable specific plugins whilst in troubleshooting mode. Once disabled you will revert back to the current state.

Can you also send us your system info.
https://monosnap.com/file/0MQJjhWd6jBB409qKsn4zJRHEwFMq8

thanks

Viewing 4 reply threads

The support post ‘Fatal Error upgrading to PHP or 8.2 in WP-Engine’ 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