Update jquery [warning message says outdated]

This topic contains 3 replies, has 2 voices, and was last updated by  Sebastian 7 years, 6 months ago.

Author Posts

idodialog

Need help with this.
Latest WP and latest Cherry but still says I’m running less than version 1.9 of jQuery.
Indicates that you (Themeover) will help.


Sebastian

Hi there,

Yes I’m happy to help you with this. It’s likely that either your theme or a plugin is replacing the modern version of jQuery that is normally included by default with an older version of jQuery. WordPress advises against this practice because it limits progress.

The following PHP code removes the default version of jQuery:

wp_deregister_script( 'jquery' );

If you locate and remove this code, along with the code for enqueueing a different version of jQuery WordPress will include the latest version and Microthemer should work. If you’re not sure how to do this yourself I can help you. But you would need to send me FTP details for your website via this secure form: https://themeover.com/support/contact/

However, it’s worth pointing out that you may have some plugins or custom scripts in your theme that only work with the old version of jQuery. There may have been a reason the default jQuery was de-registered. By updating jQuery you may fix the issue with Microthemer but cause something else to stop working.

My advice to update jQuery remains though. This problem will re-emerge again and again with various modern plugins if you don’t modernize jQuery.

Cheers,
Sebastian


idodialog

where am I likely to find `wp_deregister_script( ‘jquery’ );


Sebastian

It could be in one of your theme files (e.g. functions.php) or any one of your plugins. Do you have a local copy of the website on your computer? If so, and if you have a code editor that can search for text strings in all files in a given directory, I recommend doing a search for:

wp_deregister_script

I’ve omitted the jQuery bit because it may have double quotes and no blank spaces in the brackets.

Also, if you can post a link to your website or email it to me (https://themeover.com/support/contact/) I can inspect the frontend of your site just to make sure that an old version of jQuery is indeed being loaded.

Cheers,
Sebastian

You must login or register to reply to this topic.