Critical Error – Overriding existing data with an already registered..
-
As of today, I’m getting this error – I can’t update the theme because the Updates page keeps giving this error:
2023-12-13T10:10:40+00:00 CRITICAL Uncaught InvalidArgumentException: Overriding existing data with an already registered key is not allowed in wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php:431
Stack trace: 0 wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php(310): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->add_data(‘wc-blocks-jetpa…’, Array) 1 wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Domain/Services/JetpackWooCommerceAnalytics.php(198): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->add(‘wc-blocks-jetpa…’, Array) 2 /wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Domain\Services\JetpackWooCommerceAnalytics->register_script_data(”) 3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5 /wp-includes/script-loader.php(2262): do_action(‘wp_enqueue_scri…’) 6 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts(”) 7 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 8 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /wp-includes/general-template.php(3052): do_action(‘wp_head’) 10 wp-content/themes/themename/bbpress/bbpress.php(22): wp_head() 11 /wp-includes/template-loader.php(106): include(‘/home/dh_3geivw…’) 12 /home/dh_3geivw/inspiresmall.biz/wp-blog-header.php(19): require_once(‘/home/dh_3geivw…’) 13 /home/dh_3geivw/inspiresmall.biz/index.php(17): require(‘/home/dh_3geivw…’) 14 {main}thrown in wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Assets/AssetDataRegistry.php on line 431
- The topic ‘Critical Error – Overriding existing data with an already registered..’ is closed to new replies.