JS errors in WooCommerce 8.5.1
-
Hi,
My site has the Astra theme, Elementor, SG-Optimizer and WooCommerce, among others. I’ve just upgraded WooCommerce 8.4.0 to 8.5.1, and got the following JS errors:- “Uncaught ReferenceError: wp is not defined” error: Thrown in 3 inline JS script tags, with IDs ‘wp-i18n-js-after’, ‘wp-data-js-after’, and ‘wp-api-fetch-js-after’.
- “Uncaught ReferenceError: _ is not defined” error: Thrown in inline JS script tag with ID ‘lodash-js-after’.
Trying to exclude [the scripts which above inline scripts depend upon] from JS deferral didn’t fix the issue, so I ended up reverting back to WooCommerce 8.4.0, where these errors do not occur.
Please take a look. Thank you.
Kind regards,
thwp
- The topic ‘JS errors in WooCommerce 8.5.1’ is closed to new replies.