• Hello!

    I’ve just moved a staging site from my server to the customer’s web hosting. Right after uploading the data and importing the database, we started seeing a critical error when visiting the WordPress plugins page:

    Fatal error: Uncaught Error: Attempt to assign property "plugins" on bool in /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/vendor/freemius/start.php:74 
    
    Stack trace: 
    #0 /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/src/Tribe/Freemius.php(25): require_once() 
    #1 /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(382): Tribe__Freemius->__construct() 
    #2 /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(332): tad_DI52_Container->build('Tribe__Freemius') 
    #3 /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php(283): tad_DI52_Container->resolve('freemius') 
    #4 /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/src/Tribe/Container.php(176): tad_DI52_Container->make('freemius') 
    #5 /htdocs/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/Freemius.php(141): tribe('freemius') 
    #6 /htdocs/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/Freemius.php(81): Tribe__Events__Integrations__Freemius->setup() 
    #7 /htdocs/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/Manager.php(73): Tribe__Events__Integrations__Freemius->__construct() 
    #8 /htdocs/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/Manager.php(40): Tribe__Events__Integrations__Manager->load_freemius() 
    #9 /htdocs/wordpress/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(943): Tribe__Events__Integrations__Manager->load_integrations() 
    #10 /htdocs/wordpress/wp-includes/class-wp-hook.php(307): Tribe__Events__Main->init('') 
    #11 /htdocs/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) 
    #12 /htdocs/wordpress/wp-includes/plugin.php(476): WP_Hook->do_action(Array) 
    #13 /htdocs/wordpress/wp-settings.php(598): do_action('init') 
    #14 /htdocs/wordpress/wp-config.php(189): require_once('/homepages/40/d...') 
    #15 /htdocs/wordpress/wp-load.php(50): require_once('/homepages/40/d...') 
    #16 /htdocs/wordpress/wp-admin/admin.php(34): require_once('/homepages/40/d...') 
    #17 /htdocs/wordpress/wp-admin/plugins.php(10): require_once('/homepages/40/d...') 
    #18 {main} thrown in /htdocs/wordpress/wp-content/plugins/the-events-calendar/common/vendor/freemius/start.php on line 74

    My server for the staging site was running PHP 8.1 and even works with PHP 8.0.23.
    On the new machine of the web hosting company (running PHP 8.0.23) the error above is thrown.

    Reinstalling the plugin (thinking that a file got corrupted during the transfer) didn’t help. For the time being, I disabled the plugin via FTP.

    Could you please advise?

    Thanks,
    Stefan

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 8 compatibility issue: freemius/start.php on Line 74’ is closed to new replies.