JS stopped working window.csGlobal.collapse is not a function

I am building a website for a client:

www.metissupplements.com

Everything was working as expected untill one moment it looked like my JS stopped working. I get this error:

Uncaught TypeError: window.csGlobal.collapse is not a function

I also get an error when I want to navigate on my one-pager using the menu, it gives me the following error:

Uncaught TypeError: n.easing[this.easing] is not a function
at init.run (jquery.js?ver=1.12.4:4)
at i (jquery.js?ver=1.12.4:4)
at Function.n.fx.timer (jquery.js?ver=1.12.4:4)
at qb (jquery.js?ver=1.12.4:4)
at HTMLHtmlElement.g (jquery.js?ver=1.12.4:4)
at Function.dequeue (jquery.js?ver=1.12.4:3)
at HTMLHtmlElement. (jquery.js?ver=1.12.4:3)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.queue (jquery.js?ver=1.12.4:3)

And the css of the X page on my admin panel is missing. I have already tried to deactivate all my plugins, I removed my custom jquery but nothing helps.

I also had to use jquery instead of $ in my custom js because at one point using $ just stopped working on the website.

Hi There,

This issue occurs because you’ve updated the Cornerstone plugin to the latest version but NOT updated the X theme yet.

Could you please update the X theme to the latest version as well?

Update guide: https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62

Changelog: https://theme.co/changelog/

Hope it helps :slight_smile:

When I check for updates I don’t get the option to update x theme. I am currently on version 5.2.5.

Hey @stinooww,

Please try going to Dashboard > Updates and click the Check Again button. If you don’t see the X update notification under Themes, there could be a problem with object caching in your site. If you’re using a caching plugin, try purging all caches. If that does not help, you will need to contact your hosting provider.

Regarding jQuery, you really need to use jQuery and not $ because that is not accepted in WordPress

Thanks.

I contacted the hosting provider and they don’t find anything unusual. Are there other options to solve this?

Hello @stinooww,

Thanks for updating the thread. :slight_smile:

If automatic updates are not showing up then you have the option to manually update X Theme. My colleague @thai has shared the theme update guide and in that please scroll down to manual update section to manually update X Theme. I am sharing the link here again, please take a look. Having said that, to manually update X Theme you will need FTP softwares like Filezilla. Please take a look at following tutorial.

https://www.tipsandtricks-hq.com/how-to-use-filezilla-with-wordpress-8956

Thanks.

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