Error after updating from 5.9 to 6.0 / 6.1.1
-
After updating WooCommerce from 5.9 to latest 6.1.1 I got following error:
Fatal error: Uncaught TypeError: Unsupported operand types: int - string in /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/WCAdminHelper.php:56 Stack trace: #0 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/WCAdminActiveForProvider.php(22): Automattic\WooCommerce\Admin\WCAdminHelper::get_wcadmin_active_for_in_seconds() #1 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/WCAdminActiveForRuleProcessor.php(37): Automattic\WooCommerce\Admin\RemoteInboxNotifications\WCAdminActiveForProvider->get_wcadmin_active_for_in_seconds() #2 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/RuleEvaluator.php(62): Automattic\WooCommerce\Admin\RemoteInboxNotifications\WCAdminActiveForRuleProcessor->process(Object(stdClass), Object(stdClass)) #3 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/EvaluateAndGetStatus.php(37): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator->evaluate(Array, Object(stdClass), Array) #4 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/SpecRunner.php(44): Automattic\WooCommerce\Admin\RemoteInboxNotifications\EvaluateAndGetStatus::evaluate(Object(stdClass), 'pending', Object(stdClass), Object(Automattic\WooCommerce\Admin\RemoteInboxNotifications\RuleEvaluator)) #5 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php(101): Automattic\WooCommerce\Admin\RemoteInboxNotifications\SpecRunner::run_spec(Object(stdClass), Object(stdClass)) #6 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php(155): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run() #7 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/class-wp-hook.php(309): Automattic\WooCommerce\Admin\RemoteInboxNotifications\RemoteInboxNotificationsEngine::run_on_deactivated_plugin('ele-custom-skin...') #8 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #9 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #10 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-admin/includes/plugin.php(826): do_action('deactivated_plu...', 'ele-custom-skin...', false) #11 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-admin/plugins.php(209): deactivate_plugins('ele-custom-skin...', false, false) #12 {main} thrown in /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/WCAdminHelper.php on line 56
when deactivating plugins.
Furthermore I can’t activate other plugins:Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method BRM_Setup::on_activate() cannot be called statically in /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/class-wp-hook.php:307 Stack trace: #0 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #1 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #2 /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-admin/plugins.php(194): do_action('activate__bette...') #3 {main} thrown in /home/at26260/web/XXXXXXXXX/public_html/devhundefriseur/wp-includes/class-wp-hook.php on line 307
I just changed the domain here in this topic to XXXXXXXXX .
How to fix this?
- The topic ‘Error after updating from 5.9 to 6.0 / 6.1.1’ is closed to new replies.