• As soon as I activate the events calendar plugin I’ll get:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Notice: Undefined index: the-events-calendar in /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php on line 16259
    
    activating debug in wp-config.php I see:
    
    Fatal error: Uncaught TypeError: Argument 1 passed to Freemius::get_api_user_scope_by_user() must be an instance of FS_User, bool given, called in /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php on line 22695 and defined in /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php:22709 Stack trace: #0 /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php(22695): Freemius->get_api_user_scope_by_user(false) #1 /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php(22734): Freemius->get_api_user_scope(false) #2 /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php(19625): Freemius->get_current_or_network_user_api_scope() #3 /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php(11471): Fr in /home/www/colearn.de/wp-content/plugins/the-events-calendar/common/vendor/freemius/includes/class-freemius.php on line 22709

    Error first occured with version 5.11.0, but also the new 5.12.0 which I hoped would solve it, remains the same. A downgrade to 5.10.1 failed as well.

    For debugging reasons I deactivated all other plugins and switched to twentytwentyone default theme – error still persists.

    Any idea how to solve this?

    best regards Stefan

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Victor Zarranz

    (@vicskf)

    Hi @stk_jj,

    Sorry to hear you’re having that fatal error.

    I can’t seem to be able to replicate it on my end. What PHP version are you using?

    I tried both 7.4 as well as 8.0. Is there an entry for Freemiums (skip/join) in the database? I should mention that the site is an extraction from a former multisite (was the maininstance, but site-id=3).

    Plugin Contributor Victor Zarranz

    (@vicskf)

    Hi @stk_jj,

    Thanks for that information.

    We are still not able to replicate on our end. But it’s possible the issue is with that particular installation.

    The following are entries added by Freemius into the wp-options table:
    fs_active_plugins, fs_debug_mode, fs_accounts, fs_gdpr
    You could try removing those entries from the database and see if the error goes away.

    Hope that helps.

    Hi Victor – thanks for guiding me to these entries. I found 3 of them (fs_gdpr was missing) in wp-options. After deleting them and getting rid of some transients the error was gone. Everything is working fine!
    Tons of love for your help ??
    Stefan

    Plugin Support Truman

    (@tdorn)

    Hi there,

    We are glad you found a resolution for this!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error on activation’ is closed to new replies.