Uncaught SyntaxError with wp-polyfill
-
Hi,
I did the latest updates :
- WordPress v.6.4.1
- Woocommerce v.8.2.2
- Merge + Minify + Refresh v.1.15.1
and getting error with a console message:
Uncaught SyntaxError : Invalid or unexpected token (at xxxxxxxx-xxxxxxxxxx.js.min.js:228:3486)
This file xxxxxxxx-xxxxxxxxxx.js.min.js contains the following files :
- – wp-polyfill-inert – /wp-includes/js/dist/vendor/wp-polyfill-inert.min.js
- regenerator-runtime – /wp-includes/js/dist/vendor/regenerator-runtime.min.js
- wp-polyfill – /wp-includes/js/dist/vendor/wp-polyfill.min.js
- wp-hooks – /wp-includes/js/dist/hooks.min.js
and the error seems to come from the file : wp-polyfill.min.js
For information, I had to add an additional line of files to exclude in the plugin:
/wp-includes/js/dist/vendor/wp-polyfill.min.js
after :
/wp-includes/js/jquery/jquery.min.js
/wp-includes/js/jquery/jquery-migrate.min.jsto no longer have the error…
BR
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Uncaught SyntaxError with wp-polyfill’ is closed to new replies.