• 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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    (@xarranbs)

    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’, __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.

    Dear, user I am asking because if you are pro user and have problems you can contact us by info@huge-it.com.
    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

    (@xarranbs)

    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.

    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

    (@xarranbs)

    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.

    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.