• Resolved wpuman

    (@wpuman)


    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.js

    to no longer have the error…

    BR

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author launchinteractive

    (@launchinteractive)

    Hi,

    We just released a new version of MMR that completely changes the way the merging works. We believe it should solve this issue you were having as well.

    Can you please try the latest version and let us know if it has any further issues?

    Thread Starter wpuman

    (@wpuman)

    Hi,

    It’s OK, The latest version fixed the problem !

    BR

    Plugin Author launchinteractive

    (@launchinteractive)

    Great. I’m glad to hear it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught SyntaxError with wp-polyfill’ is closed to new replies.