Uncaught TypeError: Cannot read property ‘msie’ of undefined when upgrading to WordPress 5.5

  • read
  • Add to Flipboard Magazine.

web design code snippets

Recently when upgrading an older site to WordPress 5.5 I noticed a javascript error in the console that read Uncaught TypeError: Cannot read property ‘msie’ of undefined.

If you have a plugin or script that relied on an older version of jQuery it will no longer work because WordPress updated their jQuery version. In order to fix add this to the top of your scripts file

 

Bootstrap 4 books - learn responsive web design for beginners

Learn Bootstrap 4 Fast - Books

Learn More

Advertise Here

Written by: Jacob Lett - Jacob is an experienced website designer and developer who specializes in building HubSpot CMS themes. He helps Industrial companies optimize and leverage their website for awareness, lead generation, and branding.
Category: Code Snippets
Tags:

Want to Get Email Updates?

Receive a monthly digest of new tutorials and resources.

Advertise Here