Support

Home Forums Event Espresso Premium Fatal error if "Event Espresso" is activated

Fatal error if "Event Espresso" is activated

Posted: May 22, 2023 at 4:43 am


deborah.dauwalder

May 22, 2023 at 4:43 am

Hello everyone

I have the following versions installed:
– WordPress: 6.2.2
– PHP-Version: 8.1.17
– Event Espresso: 4.10.13.p

Since two weeks I get a fatal error if the Event Espresso plugin is activated.
I can’t login or reach any page of my website.
To get the website running again I had to deactivate the plugin in my wordpress installation structure.
The Event Espresso 4 Decaf does not create any problems.
But the instant I try to activate Event Espresso the error occures again.

So far I tried a lot of things except reinstalling the plugin it self.
Because I am worried to lose all the Event information everyone has uploaded so far. (Maybe those informations are safed in the decaf version aswell)

Thanks in advance for helping!


Sam

  • Support Staff

May 22, 2023 at 6:06 am

Hi Gilbert,

Thank you for contacting us.

Can you please share the screenshot of the error so that we can check what is causing the issue for you?

Looking forward to helping you.


Tony

  • Support Staff

May 22, 2023 at 9:04 am

Hi there,

So far I tried a lot of things except reinstalling the plugin it self.
Because I am worried to lose all the Event information everyone has uploaded so far. (Maybe those informations are safed in the decaf version aswell)

All of the Event Data is stored within the database, so you shouldn’t lose anything.

Do you keep regular database backups? (Not needed to fix the above, but highly recommended that you start creating them if you don’t already)

When a fatal error is thrown on the site it is usually saved within the sites error logs and your host will usually have a section in your control panel where you can view those.

If you can post the error being thrown here we can investigate this further.


deborah.dauwalder

May 23, 2023 at 3:43 am

Hey, thank you very much for the fast replies.

Our host has some emergency backups.
So I might reinstall the plugin and see if it fixes the issue.

Wordpress sent me the following error message:
An E_ERROR error occurred on line 89 of the file /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php. Error message: Uncaught EventEspresso\core\exceptions\InvalidDataTypeException: The supplied data for “$return_url” was NULL, but a string was expected. in /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php:89
Stack trace:
#0 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/notifications/PersistentAdminNoticeManager.php(70): EventEspresso\core\services\notifications\PersistentAdminNoticeManager->setReturnUrl(NULL)
#1 [internal function]: EventEspresso\core\services\notifications\PersistentAdminNoticeManager->__construct(NULL, Object(EventEspresso\core\domain\services\capabilities\CapabilitiesChecker), Object(EventEspresso\core\services\request\Request))
#2 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1262): ReflectionClass->newInstanceArgs(Array)
#3 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(773): EE_Registry->_create_object(‘EventEspresso\c…’, Array, ”, false)
#4 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(111): EE_Registry->create(‘EventEspresso\c…’, Array, true, false, false, ”)
#5 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(147): EventEspresso\core\services\loaders\CoreLoader->load(‘EventEspresso\c…’, Array, true)
#6 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(82): EventEspresso\core\services\loaders\CachingLoader->load(‘EventEspresso\c…’, Array, true)
#7 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(105): EventEspresso\core\services\loaders\Loader->load(‘EventEspresso\c…’, Array)
#8 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/RequestStackCoreApp.php(68): EventEspresso\core\services\loaders\Loader->getShared(‘EventEspresso\c…’)
#9 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\RequestStackCoreApp->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#10 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/BotDetector.php(36): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#11 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\middleware\BotDetector->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#12 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/DetectFileEditorRequest.php(36): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#13 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\middleware\DetectFileEditorRequest->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#14 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/PreProductionVersionWarning.php(33): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#15 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\middleware\PreProductionVersionWarning->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#16 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/RecommendedVersions.php(49): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#17 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\middleware\RecommendedVersions->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#18 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/DetectLogin.php(40): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#19 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/Middleware.php(72): EventEspresso\core\services\request\middleware\DetectLogin->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#20 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/middleware/SetRequestTypeContextChecker.php(55): EventEspresso\core\services\request\middleware\Middleware->processRequestStack(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#21 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/request/RequestStack.php(59): EventEspresso\core\services\request\middleware\SetRequestTypeContextChecker->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#22 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/bootstrap/BootstrapCore.php(187): EventEspresso\core\services\request\RequestStack->handleRequest(Object(EventEspresso\core\services\request\Request), Object(EventEspresso\core\services\request\Response))
#23 /home/[censored]/www/[censored]/wp-content/plugins/event-espresso-core-reg/core/services/bootstrap/BootstrapCore.php(109): EventEspresso\core\services\bootstrap\BootstrapCore->runRequestStack()
#24 /home/[censored]/www/[censored]/wp-includes/class-wp-hook.php(308): EventEspresso\core\services\bootstrap\BootstrapCore->initialize(”)
#25 /home/[censored]/www/[censored]/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#26 /home/[censored]/www/[censored]/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#27 /home/[censored]/www/[censored]/wp-settings.php(486): do_action(‘plugins_loaded’)
#28 /home/[censored]/www/[censored]/wp-config.php(119): require_once(‘/home/[censored]/…’)
#29 /home/[censored]/www/[censored]/wp-load.php(50): require_once(‘/home/[censored]/…’)
#30 /home/[censored]/www/[censored]/wp-admin/admin.php(34): require_once(‘/home/[censored]/…’)
#31 /home/[censored]/www/[censored]/wp-admin/index.php(10): require_once(‘/home/[censored]/…’)
#32 {main}
thrown

I hope this helps a little to understand where my error is.

Thank you again.


Tony

  • Support Staff

May 23, 2023 at 4:09 am

Hi there,

I’d like to take a look and see what is happening here, would that be ok?

If so I’ll need FTP (as I’ll need to add some code to debug this) and WP-Admin credentials to view it, you can send temp login details over using this form:

https://eventespresso.com/send-login-details/


Tony

  • Support Staff

May 23, 2023 at 2:25 pm

This reply has been marked as private.


deborah.dauwalder

May 24, 2023 at 6:35 am

Thank you very much.
This helped and now it seems to work again.

Where do I find the latest updates for EE in the future?


Tony

  • Support Staff

May 24, 2023 at 7:23 am

So right now you’re on the ‘last’ version of v4.10.XX

After that we released v5.X.X and you can update to that just by adding your license key in Event Espresso -> General Settings.

You can always get the latest version of EE from your account page.

The support post ‘Fatal error if "Event Espresso" is activated’ 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