My website uses the Enford theme, along with the All in One plugin and MonsterInsights. Every time I use features from these two plugins, the same error occurs: “Uncaught TypeError: Cannot read properties of undefined (reading ‘hasClass’).” How should I address this issue?
Hey liuxuewu,
Is the same message appearing when a default WordPress theme is active as well? Please try to reach out to the plugin developers, as we can’t provide support for third party plugins.
Best regards,
Rikard
Yes, after changing the theme, the issue no longer occurs.
Hi,
Thank you for the update.
Where can we check the issue? Please post the site URL in the private field and provide a screenshot of the error.
1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
2.) Locate the option to upload a file or an image.
3.) Select the screenshot file from your computer or device and upload it to the platform.
4.) After the upload is complete, you will be provided with a shareable link or an embed code.
5.) Copy the link or code and include it in your message or response to provide us with the screenshot.
Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.
Best regards,
Ismael
on Enfold : where did you load your jQuery in the header or have you set to load jQuery in the footer?
hasClass belongs to jQuery – but if you load jQuery later than there will be this error. Maybe your plugin has the option too – to load the scripts later.