• Resolved vbk91

    (@vbk91)


    Hi Guys

    we using w3 total cache plugin. when I tried to enable minify js, CSS setting when we enable this that time I got some error in the console e.g. Uncaught TypeError: Cannot read property ‘flowRight’ of undefined. When we disable minify setting that time no error on console.
    We are using WordPress Version 5.6 and w3 cache Version 2.0.1

    Any Idea for this. Please Help me…

    • This topic was modified 4 years, 2 months ago by vbk91.
    • This topic was modified 4 years, 2 months ago by vbk91.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vbk91

    Thank you for your inquiry and I man happy to assist you with this.
    This means that some file does not agree with being minified. You can check more details when checking that error.
    The solution is to exclude a specific JS/CSS file from being minified in Performance>Minify>Advanced>”Never Minify following JS files” and “Never Minify following CSS files”
    The alternative is to use Manual minify and add the files manually and in proper order, leaving out the file which is causing the issue as it’s most likely pre minified.
    You can also ignore the error if the functionality of the website is not changed and styling is not broken.
    Thanks!

    Thread Starter vbk91

    (@vbk91)

    Hi

    thanks for replying.

    But our another server same setting w3 total cache there is no error. Just one difference WP versions. what do you think? Is WP version issue?

    WP version 5.5.3(No error)
    Wp version 5.6 (getting issue)

    • This reply was modified 4 years, 1 month ago by vbk91.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vbk91

    Thank you for the information.
    Different server means different resources, different theme, plugins, etc.
    This is not related to the WP version but with the file that does not agree with being minified as I mentioned before.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enable minify setting that time I got js errors on console’ is closed to new replies.