Title: Problem with JQuery remote loading
Last modified: May 22, 2019

---

# Problem with JQuery remote loading

 *  Resolved [LeoRaphael](https://wordpress.org/support/users/leoraphael/)
 * (@leoraphael)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/)
 * Hello.
 * If you set “JQuery Remote Import” in the CDN tab of LiteSpeed Cache plug-in to
   Google or Cdnjs, a 404 error occurs.
 * [https://ajax.googleapis.com/ajax/libs/jquery/1.12.4-wp/jquery.min.js](https://ajax.googleapis.com/ajax/libs/jquery/1.12.4-wp/jquery.min.js)
 * [https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4-wp/jquery.min.js](https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4-wp/jquery.min.js)
 * I confirmed that there is no link destination either, and I thought that it would
   be necessary to modify the URL of the plug-in’s JQuery remote read destination,
   so I wrote it.
 * The valid URLs I found out were:
 * [https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js](https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js)
 * [https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js](https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js)
 * Please modify the connection destination URL for the plugin’s jquery library.
 * I am not good at English, so please forgive me if you have any difficulty reading.
    -  This topic was modified 7 years ago by [LeoRaphael](https://wordpress.org/support/users/leoraphael/).

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Alex Kladov](https://wordpress.org/support/users/prowebassist/)
 * (@prowebassist)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11557730)
 * [@leoraphael](https://wordpress.org/support/users/leoraphael/) Same here! This
   just broke our entire site, since remote jQuery failed to load and therefore 
   all jQuery-dependant scripts threw an error.
 * Please fix it asap.
 * Right now you can fix the issue by turning the **Load JQuery Remotely** under**
   CDN** tab to **OFF**.
 *  [dagan](https://wordpress.org/support/users/daganloygmailcom/)
 * (@daganloygmailcom)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11557938)
 * This broke my site too. But what happened exactly? It looks like google never
   had the file or litespeed somehow updated their plugin externally? Anyway, yes
   by turning it off, it works again.
 *  Thread Starter [LeoRaphael](https://wordpress.org/support/users/leoraphael/)
 * (@leoraphael)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11557996)
 * [@prowebassist](https://wordpress.org/support/users/prowebassist/) [@daganloygmailcom](https://wordpress.org/support/users/daganloygmailcom/)
 * I do not know the reason, but after having been updated to WordPress 5.2.1, a
   problem occurred in the website suddenly.
 * While investigating the cause, I confirmed that there was an error in the operation
   of JQuery, and arrived at the solution by the setting change of LiteSpeed Cache
   plug-in.
 * Since disabling the plug-in worked correctly, as a result of thoroughly verifying
   the setting items, the problem was solved by not using “JQuery Remote Import”
   as Google or Cdnjs.
 *  [oliverhtml](https://wordpress.org/support/users/oliverhtml/)
 * (@oliverhtml)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11559378)
 * Hi there,
    I had the same issue, in the latest wordpress core in wp-includes/
   script-loader.php on line 1015 There are the following two lines that correspond
   to the incorrect jquery version
 * $scripts->add( ‘jquery’, false, array( ‘jquery-core’, ‘jquery-migrate’ ), ‘1.12.4-
   wp’ );
    $scripts->add( ‘jquery-core’, ‘/wp-includes/js/jquery/jquery.js’, array(),‘
   1.12.4-wp’ );
 * the 4th argument is the version number
 * in the plugin it looks like you’re pulling the version number from wordpress 
   core in litespeed-cache-cdn.class.php line 590
 * Kind Regards,
    oliver
 *  [Tom Robak (tomrobak.com)](https://wordpress.org/support/users/tomrobak/)
 * (@tomrobak)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11560020)
 * fixed [https://www.youtube.com/watch?v=GsBW3XIrXEM](https://www.youtube.com/watch?v=GsBW3XIrXEM)
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11560115)
 * Hi, the fix is in [https://github.com/litespeedtech/lscache_wp/commit/5f648b47da8624975c4671adf6665d135d57b3de](https://github.com/litespeedtech/lscache_wp/commit/5f648b47da8624975c4671adf6665d135d57b3de)
   and will be released today in v2.9.8
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11560117)
 * Also thanks [@tomrobak](https://wordpress.org/support/users/tomrobak/) for the
   quick fix video :p
 *  Thread Starter [LeoRaphael](https://wordpress.org/support/users/leoraphael/)
 * (@leoraphael)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11561811)
 * [@oliverhtml](https://wordpress.org/support/users/oliverhtml/) [@tomrobak](https://wordpress.org/support/users/tomrobak/)
   [@hailite](https://wordpress.org/support/users/hailite/)
 * Thank you for your reply and explanation.
 * I will temporarily stop using the external jquery and wait for the plugin to 
   be updated.
 * It was saved by everyone’s quick response. I’m really thankful to you.
    -  This reply was modified 7 years ago by [LeoRaphael](https://wordpress.org/support/users/leoraphael/).
 *  [dagan](https://wordpress.org/support/users/daganloygmailcom/)
 * (@daganloygmailcom)
 * [7 years ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11562427)
 * Yes, we’ll all be waiting for 2.9.8
 * Thank you.
 *  [titsmaker](https://wordpress.org/support/users/titsmaker/)
 * (@titsmaker)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11691666)
 * I am not sure this is a proper way to fix the issue. Jquery 1.12.4 is no longer
   maintained, that’s why WordPress applied some security patches from later versions
   to it and started delivering it as “1.12.4-wp”. Removing “-wp” switches you to
   unpatched version from Google CDN.
    Please read here – [https://core.trac.wordpress.org/ticket/47342#comment:3](https://core.trac.wordpress.org/ticket/47342#comment:3)
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11692678)
 * That is true. As commented in the end, maybe we should wait for the latest jquery
   in WP v5.4/5.5 to solve this issue? As to use external jQuery, I am not sure 
   where we can find the wp customized patch one.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Problem with JQuery remote loading’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 11 replies
 * 7 participants
 * Last reply from: [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/problem-with-jquery-remote-loading/#post-11692678)
 * Status: resolved