After the 8.5.0 update, I encountered an error
-
Even if I deleted all themes and plugins and installed only WooCommerce, the error still occurred.
When I reinstalled WooCommerce, I saw the message ‘This plugin caused a fatal error in WordPress and cannot be activated[09-Jan-2024 10:35:05 UTC] PHP Fatal error: Uncaught Error: Non-static method Automattic\WooCommerce\Internal\Features\FeaturesController::change_feature_enable() cannot be called statically in /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/Admin/Marketplace.php:23
Stack trace: 0 [internal function]: Automattic\WooCommerce\Internal\Admin\Marketplace->init() 1 /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/Definition.php(59): call_user_func_array() 2 /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/Definition.php(29): Automattic\WooCommerce\Internal\DependencyManagement\Definition->invokeInit() 3 /var/www/123.com/html/wp-content/plugins/woocommerce/lib/packages/League/Container/Definition/Definition.php(212): Automattic\WooCommerce\Internal\DependencyManagement\Definition->resolveClass() 4 /var/www/123.com/html/wp-content/plugins/woocommerce/lib/packages/League/Container/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\Vendor\League\Container\Definition\Definition->resolve() 5 /var/www/123.com/html/wp-content/plugins/woocommerce/lib/packages/League/Container/Container.php(157): Automattic\WooCommerce\Vendor\League\Container\Definition\DefinitionAggregate->resolve() 6 /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ExtendedContainer.php(158): Automattic\WooCommerce\Vendor\League\Container\Container->get() 7 /var/www/123.com/html/wp-content/plugins/woocommerce/lib/packages/League/Container/Container.php(178): Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer->get() 8 /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ExtendedContainer.php(158): Automattic\WooCommerce\Vendor\League\Container\Container->get() 9 /var/www/123.com/html/wp-content/plugins/woocommerce/src/Container.php(116): Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer->get() 10 /var/www/123.com/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(267): Automattic\WooCommerce\Container->get() 11 /var/www/123.com/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(189): WooCommerce->init_hooks() 12 /var/www/123.com/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(147): WooCommerce->__construct() 13 /var/www/123.com/html/wp-content/plugins/woocommerce/woocommerce.php(53): WooCommerce::instance() 14 /var/www/123.com/html/wp-content/plugins/woocommerce/woocommerce.php(68): WC() 15 /var/www/123.com/html/wp-settings.php(473): include_once(‘…’) 16 /var/www/123.com/html/wp-config.php(111): require_once(‘…’) 17 /var/www/123.com/html/wp-load.php(50): require_once(‘…’) 18 /var/www/123.com/html/wp-blog-header.php(13): require_once(‘…’) 19 /var/www/123.com/html/index.php(17): require(‘…’) 20 {main}thrown in /var/www/123.com/html/wp-content/plugins/woocommerce/src/Internal/Admin/Marketplace.php on line 23
- The topic ‘After the 8.5.0 update, I encountered an error’ is closed to new replies.