• Resolved jayeshdhanka

    (@jayeshdhanka)


    After upgrading WordPress version 5.5 I observed that there is a console error about the depreciated jQuery method per below:

    autoptimize_9325366e5c426f8a2fc39a6ac09d2129.js:25 Uncaught TypeError: Cannot read property ‘msie’ of undefined
    at autoptimize_9325366e5c426f8a2fc39a6ac09d2129.js:25
    at autoptimize_9325366e5c426f8a2fc39a6ac09d2129.js:25

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO doesn’t have jquery in and of itself jayeshdhanka, it merely aggregates JS from your theme & plugins. Based on the un-optimized site (by adding ?ao_noptimize=1 to the URL) the error is coming from your theme’s JS; themes/stratus/assets/js/vendor/vendor_footer.js :

    You *might* be able to work around with the jQuery migrate helper plugin?

    hope this helps,
    frank

    Thread Starter jayeshdhanka

    (@jayeshdhanka)

    I had disabled the auto-optimize for a while so the error seems to be changed. Please confirm that the below error is also not related to auto-optimize?

    View post on imgur.com

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    yes, confirmed, likely the exact same problem. maybe give that jquery migrate helper a try?

    Thread Starter jayeshdhanka

    (@jayeshdhanka)

    Okay, Thank you for the prompt feedback I have given a shot at the jquery migrate plugin and it does resolve the issue. But still wanted to go to the exact problem. So will be raising a ticket with theme providers.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

    frank

    I have the same problem on a Neve theme site. If I deactivate Autoptimize, the images show. Adding Jquery Migrate Helper makes no difference.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey an52; First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be 🙂

    frank

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Plugin breaking after WP 5.5 upgrade’ is closed to new replies.