Skip to main content
Question

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

  • March 31, 2026
  • 1 reply
  • 8 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.

1 reply

Byrne C
Community Manager
Forum|alt.badge.img+28
  • Community Manager
  • 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.