Fatal Error when updating TEC to 6.1.1 with Events Tickets
-
Before updating plugins I always make a copy to localhost in an abundance of caution. I use Laragon as my localhost server.
I have a free version of The Events Calendar and also Event Tickets both need an update 6.05->6.1.1 and 5.5.4->5.6.0 respectively
Upgrading TEC and ET using the WordPress Dashboard interface in either order results in a fatal error. (see below for stack trace)
However, if I upgrade both together by manually copying files, I can upgrade successfully. Also, if I deactivate both plugins, upgrade both then re-activate them it is also successful.
I also have Restrict Content Pro installed. I mention this because RCP is mentioned in the Stack Trace of the fatal error. I have not touched the RCP plugin during this process.
I’d appreciate some clarity. Thank you, Jerry
Extract from debug.log file
[18-Jun-2023 23:02:48 UTC] PHP Fatal error: Uncaught Error: Class ‘tad_DI52_ServiceProvider’ not found in C:\laragon\www\XXXXXXX\wp-content\plugins\restrict-content-pro\core\includes\PUE\Provider.php:22
Stack trace:
#0 C:\laragon\www\XXXXXXX\wp-content\plugins\event-tickets\vendor\composer\ClassLoader.php(444): include()
#1 C:\laragon\www\XXXXXXX\wp-content\plugins\event-tickets\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile(‘C:\laragon\www\…’)
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘RCP\PUE\Provide…’)
#3 [internal function]: spl_autoload_call(‘RCP\PUE\Provide…’)
#4 C:\laragon\www\XXXXXXX\wp-content\plugins\the-events-calendar\common\vendor\vendor-prefixed\lucatume\di52\src\Builders\ClassBuilder.php(83): class_exists(‘RCP\PUE\Provide…’)
#5 C:\laragon\www\XXXXXXX\wp-content\plugins\the-events-calendar\common\vendor\vendor-prefixed\lucatume\di52\src\Builders\Resolver.php(233): TEC\Common\lucatume\DI52\Builders\ClassBuilder->__construct(‘RCP\PUE\Provide…’, Object( in C:\laragon\www\XXXXXXX\wp-content\plugins\restrict-content-pro\core\includes\PUE\Provider.php on line 22
- The topic ‘Fatal Error when updating TEC to 6.1.1 with Events Tickets’ is closed to new replies.