Issues with Cornerstone edito and dropdown menus

Hi there,

Having an issue after update to WordPress 5.2.2.
When I am logged in - Cornerstone editor is not loading
When I am logged out - Dropdown menus don’t open

Looking in the debugger I see there is an error in a custom js file (which someone else developed a while ago):

Uncaught TypeError: c.hoverIntent is not a function
at HTMLDocument. (x-head.netclimber.js?ver=1:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

If I remove the custom JS file completely the issues go away.
But I have no idea what other damage it may cause.

Any suggestions on how to fix?
Would it be OK to just remove this file? What would be the impact?

Thanks,
Michelle

Hi Michelle,

Thank you for writing in, while it is safe to remove the file that is causing the issue, there could be a custom functionality that might not work anymore. It would be better if you contact the original developer and ask what is that JS file is for.

At this stage, it would be better to remove that erroneous custom function than affecting the other core functionality of the theme.

And remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.