Title: Jquery double loading bug
Last modified: August 22, 2016

---

# Jquery double loading bug

 *  [XarranBs](https://wordpress.org/support/users/xarranbs/)
 * (@xarranbs)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/)
 * I’m using an S5 Sunrise theme and I have found the following issue:
 * As my theme already loads Jquery, your plugin loads a second Jquery library!
 * As a result, I’ve been having console errors and problems with theme functionality.
 * Commenting the line where you plugin loads a Jquery extension has resolved the
   issue.
 * Conclusion: pls fix jquery double loading problem – this is amateurish =)
 * THanks!
 * [https://wordpress.org/plugins/gallery-video/](https://wordpress.org/plugins/gallery-video/)

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

 *  [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * (@support-huge-it)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561887)
 * Hello, dear user are you pro or free user?
    And if it is possible provide your
   page link with plugin on it
 *  Thread Starter [XarranBs](https://wordpress.org/support/users/xarranbs/)
 * (@xarranbs)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561961)
 * What’s the damn relevance, pro or not pro?
    I’m telling you about the bug and
   from 1.1.1 to 1.1.3 it’s still not fixed. Keeps breaking my site as I update 
   your plugin, and so is annoying.
 * Please check the video-gellery.php in your code, line 209:
 * “wp_register_script(‘videogallery_jquery’, ‘[https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js&#8217](https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js&#8217);,
   __FILE__ );”
 * You can comment this string out, because most of the wordpress themes already
   include Jquery library. And with this ammateurish script you are calling it twice–
   that’s no good, because it breaks sites and makes errors. Hope you understand.
 *  [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * (@support-huge-it)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561962)
 * Dear, user I am asking because if you are pro user and have problems you can 
   contact us by [info@huge-it.com](https://wordpress.org/support/topic/jquery-double-loading-bug/info@huge-it.com?output_format=md).
   
   Yes we have our own jquery which is called by wordpress standards, so if your
   theme is called by wp standards too, there mustn’t be any kind of problems. Please
   check your theme, and if it is not called by standards, contact to it’s support
   asking to fix that, because you can meet problems with other plugins too
 *  Thread Starter [XarranBs](https://wordpress.org/support/users/xarranbs/)
 * (@xarranbs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561963)
 * I have to disagree. See, I use the s5 Sunrise theme, and this is how it’s called:
 *     ```
       function site5framework_header_init() {
        if (!is_admin()) {
         wp_enqueue_script( 'jquery' );
         wp_enqueue_script('modernizr', get_template_directory_uri() .'/js/modernizr.custom.js');
         wp_enqueue_script('superfish', get_template_directory_uri() .'/js/superfish.js');
         wp_enqueue_script('prettyphoto-js', get_template_directory_uri() .'/lib/prettyphoto/jquery.prettyPhoto.js', array('jquery'), '3.1.4', false);
         wp_enqueue_style ('prettyphoto-css', get_template_directory_uri().'/lib/prettyphoto/css/prettyPhoto.css', 'style', false);
         wp_enqueue_script('custom', get_template_directory_uri() .'/js/custom.js');
        }
       }
       add_action('init', 'site5framework_header_init');
       ```
   
 * I doubt there is any fault with my S5 sunrise theme because my other plugins 
   work fine and I used a lot of different themes of theirs, so I believe, it’s 
   the plugin that is at fault.
 *  [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * (@support-huge-it)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561965)
 * Please try to clean our jQuery and check if it works.
    If no then the problem
   is not in query because both of them are called in standards(that means they 
   can not conflict)
 *  Thread Starter [XarranBs](https://wordpress.org/support/users/xarranbs/)
 * (@xarranbs)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561966)
 * That’s what I said. When I remove your jquery declaration it works just fine.
   
   If I wasn’t tech savvy, I would probably rate it 1 star and uninstall it immediately.
   Please be careful with such things and incompatibility issues.
 *  [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * (@support-huge-it)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561967)
 * Thank you, but even if you were beginner, we could do that for you.

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

The topic ‘Jquery double loading bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gallery-video_30abb3.svg)
 * [Gallery - Video Gallery and Youtube Gallery](https://wordpress.org/plugins/gallery-video/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-video/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-video/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-video/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-video/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-video/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [support-huge-it](https://wordpress.org/support/users/support-huge-it/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/jquery-double-loading-bug/#post-5561967)
 * Status: not resolved