Fatal error on Plugins page & elsewhere with The Events Calendar v6.1.0
-
I updated a site to version 6.1.0 released an hour or so ago. I first updated my The Events Calendar Pro plugin to the latest version (worked without issue), and then went to update the main The Events Calendar plugin to 6.1.0. Unfortunately, I’m seeing a 500 server error (via WordPress’ critical error message) when trying to access the main plugins page in the site admin & for various other parts of the site as well (ex. when trying to load details from the Simple History plugin, etc.) Thankfully it’s not a site-wide fatal error, but it is actively causing issues.
Here’s the full error message (it’s a lengthy one):
Fatal error: Uncaught TEC\Common\lucatume\DI52\ContainerException: constructor method is not public. in /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:172 Stack trace: #0 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php(129): TEC\Common\lucatume\DI52\Builders\ClassBuilder->getResolvedConstructorParameters(‘freemius’) #1 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php(109): TEC\Common\lucatume\DI52\Builders\ClassBuilder->resolveConstructorParameters() #2 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(233): TEC\Common\lucatume\DI52\Builders\ClassBuilder->build() #3 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(210): TEC\Common\lucatume\DI52\Builders\Resolver->resolveUnbound(‘freemius’) #4 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(216): TEC\Common\lucatume\DI52\Builders\Resolver->resolve(‘freemius’, Array) #5 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get(‘freemius’) #6 /wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make(‘freemius’) #7 /wp-content/plugins/event-tickets/src/Tribe/Integrations/Freemius.php(143): tribe(‘freemius’) #8 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php(112): Tribe__Tickets__Integrations__Freemius->setup() #9 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(253): TEC\Common\lucatume\DI52\Builders\ClassBuilder->build() #10 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(214): TEC\Common\lucatume\DI52\Builders\Resolver->resolveBound(‘tickets.integra…’) #11 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(216): TEC\Common\lucatume\DI52\Builders\Resolver->resolve(‘tickets.integra…’, Array) #12 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get(‘tickets.integra…’) #13 /wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make(‘tickets.integra…’) #14 /wp-content/plugins/event-tickets/src/Tribe/Integrations/Manager.php(55): tribe(‘tickets.integra…’) #15 /wp-includes/class-wp-hook.php(308): Tribe__Tickets__Integrations__Manager->load_freemius(”) #16 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #17 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /wp-settings.php(623): do_action(‘init’) #19 /wp-config.php(119): require_once(‘/usr/local/apac…’) #20 /wp-load.php(50): require_once(‘/usr/local/apac…’) #21 /wp-admin/admin.php(34): require_once(‘/usr/local/apac…’) #22 /wp-admin/plugins.php(10): require_once(‘/usr/local/apac…’) #23 {main} Next TEC\Common\lucatume\DI52\ContainerException: Error while making freemius: constructor method is not public. in /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:172 Stack trace: #0 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(244): TEC\Common\lucatume\DI52\ContainerException::fromThrowable(‘freemius’, Object(TEC\Common\lucatume\DI52\ContainerException), 3, Array) #1 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(218): TEC\Common\lucatume\DI52\Container->castThrown(Object(TEC\Common\lucatume\DI52\ContainerException), ‘freemius’) #2 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get(‘freemius’) #3 /wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make(‘freemius’) #4 /wp-content/plugins/event-tickets/src/Tribe/Integrations/Freemius.php(143): tribe(‘freemius’) #5 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php(112): Tribe__Tickets__Integrations__Freemius->setup() #6 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(253): TEC\Common\lucatume\DI52\Builders\ClassBuilder->build() #7 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(214): TEC\Common\lucatume\DI52\Builders\Resolver->resolveBound(‘tickets.integra…’) #8 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(216): TEC\Common\lucatume\DI52\Builders\Resolver->resolve(‘tickets.integra…’, Array) #9 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get(‘tickets.integra…’) #10 /wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make(‘tickets.integra…’) #11 /wp-content/plugins/event-tickets/src/Tribe/Integrations/Manager.php(55): tribe(‘tickets.integra…’) #12 /wp-includes/class-wp-hook.php(308): Tribe__Tickets__Integrations__Manager->load_freemius(”) #13 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #14 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /wp-settings.php(623): do_action(‘init’) #16 /wp-config.php(119): require_once(‘/usr/local/apac…’) #17 /wp-load.php(50): require_once(‘/usr/local/apac…’) #18 /wp-admin/admin.php(34): require_once(‘/usr/local/apac…’) #19 /wp-admin/plugins.php(10): require_once(‘/usr/local/apac…’) #20 {main} Next TEC\Common\lucatume\DI52\ContainerException: Error while making freemius: error while making freemius: constructor method is not public. in /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:172 Stack trace: #0 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(244): TEC\Common\lucatume\DI52\ContainerException::fromThrowable(‘tickets.integra…’, Object(TEC\Common\lucatume\DI52\ContainerException), 3, Array) #1 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(218): TEC\Common\lucatume\DI52\Container->castThrown(Object(TEC\Common\lucatume\DI52\ContainerException), ‘tickets.integra…’) #2 /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get(‘tickets.integra…’) #3 /wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make(‘tickets.integra…’) #4 /wp-content/plugins/event-tickets/src/Tribe/Integrations/Manager.php(55): tribe(‘tickets.integra…’) #5 /wp-includes/class-wp-hook.php(308): Tribe__Tickets__Integrations__Manager->load_freemius(”) #6 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /wp-settings.php(623): do_action(‘init’) #9 /wp-config.php(119): require_once(‘/usr/local/apac…’) #10 /wp-load.php(50): require_once(‘/usr/local/apac…’) #11 /wp-admin/admin.php(34): require_once(‘/usr/local/apac…’) #12 /wp-admin/plugins.php(10): require_once(‘/usr/local/apac…’) #13 {main} thrown in /wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php on line 172
Also, I have this on a site running PHP 8.0.x with the latest version of WordPress.
Just wanted to report this if there’s something to be fixed in a future release and/or if there’s other people encountering this issue.
- The topic ‘Fatal error on Plugins page & elsewhere with The Events Calendar v6.1.0’ is closed to new replies.