• Resolved 18bits

    (@marketingnr1)


    Hello WooCommerce-Community,

    I’m facing a fatal error when trying to update from WooCommerce 3.6.6 to WooCommerce 4.1.0.

    (Of course, I will eventually update to the newest version, but for now I need to update to 4.x before I can do that because of other plugin dependencies, mainly WooCommerce Subscriptions)

    Currently, I’m facing this:

    Fatal error: Uncaught Error: Cannot call abstract method ActionScheduler_Logger::init() in /var/www/html/site/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php:102 Stack trace: #0 /var/www/html/site/public_html/wp-includes/class-wp-hook.php(301): ActionScheduler_DBLogger->init() #1 /var/www/html/site/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/site/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /var/www/html/site/public_html/wp-settings.php(578): do_action(‘init’) #4 /var/www/html/site/public_html/wp-config.php(100): require_once(‘/var/www/html/s…’) #5 /var/www/html/site/public_html/wp-load.php(50): require_once(‘/var/www/html/s…’) #6 /var/www/html/site/public_html/wp-admin/admin.php(34): require_once(‘/var/www/html/s…’) #7 /var/www/html/site/public_html/wp-admin/index.php(10): require_once(‘/var/www/html/s…’) #8 {main} thrown in /var/www/html/site/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBLogger.php on line 102

    The above mentioned line 102 in ACtionScheduler_DBLogger.php states the following:

    
    /**
     * Initialize the data store.
     *
     * @codeCoverageIgnore
     */
    
        public function init() {
    
        $table_maker = new ActionScheduler_LoggerSchema();
        $table_maker->register_tables();
    
        parent::init();
    
        add_action( 'action_scheduler_deleted_action', [ $this, 'clear_deleted_action_logs' ], 10, 1 );
    }
    

    Has anyone experienced this or a similar problem when updating, maybe someone has a solution already or at least could hint me into the right direction?

    Thank you very much in advance!

    • This topic was modified 3 years, 7 months ago by 18bits. Reason: forgot tags and blockquote
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error when updating very outdated version of WooCommerce’ is closed to new replies.