Wp reference error
-
Hi,
I have updated my plugins and the wordpress is updated to 6.0.2. My woocommerce store also behaving strange. When I view the cart the subtotal and Total text is hiding in mobile view. I am always getting this error in console as Uncaught ReferenceError: wp is not defined. <script id=’wp-i18n-js-after’>
wp.i18n.setLocaleData( { ‘text direction\u0004ltr’: [ ‘ltr’ ] } );
</script>Uncaught ReferenceError: _ is not defined <script id='lodash-js-after'> window.lodash = _.noConflict(); </script> Uncaught ReferenceError: wp is not defined <script> wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "https://bilingualnews.jp/wp-json/" ) ); </script>
If I disable Variation Swatches for WooCommerce plugin this error is disappearing. But I need to use this plugin as well.How to fix this error.
I am not using any cache plugin or optimising plugin in my website.
Can you please help me on this.
The page I need help with: [log in to see the link]
- The topic ‘Wp reference error’ is closed to new replies.