Skip to main content
Solved

Javascript error: klaviyo-klaviyo-checkout-block-editor-script

  • March 31, 2026
  • 2 replies
  • 36 views

Forum|alt.badge.img+1

Hello all, I’m getting a javascript error showing in my chrome console:

klaviyo-klaviyo-checkout-block-editor-script was registered to load in the header, but has been switched to load in the footer instead. See https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5059


After poking around at the included URL, it says something to the effect of WP will move “non-essential” scripts to the footer instead of the header. Anyone know a fix or any chance the Klaviyo team can implement the  recommended fix on github?

I have the most up to date versions of WordPress, Woocommerce, and Klaviyo plugins installed. I’m not running any ad-blockers.

Best answer by Byrne C

Hi ​@fjv-rob,

Is this error causing any unexpected changes to your site/integration, or hiding any blocks? After researching this particular error message, I've found that this issue should not impact functionality in any way and is simply a deprecation error. WooCommerce theme blocks generally require snippets to be loaded in the footer, so when they notice a snippet is somewhere else, it auto-corrects to the footer.

Our engineering team is aware of this error message and should be addressing this in a future update, but at the time, it’s not expected to cause any breaking issues to your site or integration.

2 replies

Byrne C
Community Manager
Forum|alt.badge.img+29
  • Community Manager
  • Answer
  • April 2, 2026

Hi ​@fjv-rob,

Is this error causing any unexpected changes to your site/integration, or hiding any blocks? After researching this particular error message, I've found that this issue should not impact functionality in any way and is simply a deprecation error. WooCommerce theme blocks generally require snippets to be loaded in the footer, so when they notice a snippet is somewhere else, it auto-corrects to the footer.

Our engineering team is aware of this error message and should be addressing this in a future update, but at the time, it’s not expected to cause any breaking issues to your site or integration.


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • April 7, 2026

Hard to know if it’s affecting anything. The site loads but could be faster. There are a number of other issues that could be causing my slowdown as well.