• Resolved chenryahts

    (@chenryahts)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello chenryahts

    Thank you for contacting WooCommerce support ??

    I understand that you are getting a critical error on your site when updating the theme.

    To help you further, I’d like to understand more about your setup.
    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

    Once you’ve done that, you can paste it here or into our https://Quickforget.com service and send that secret link here.

    Looking forward to your response.

    Thread Starter chenryahts

    (@chenryahts)

    @doublezed2

    Thanks for your response… it’s working today?

    I don’t know what happened but I was able to update the rest of the plugin today and didn’t get another error.

    Hi @chenryahts

    I’m glad that the issue has been resolved here already, yey!

    I will be marking this thread as resolved. Should you have further inquiries, kindly create a new topic here.

    Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical Error – Overriding existing data with an already registered..’ is closed to new replies.