WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Photonic Gallery for Flickr, Picasa, SmugMug and 500px] Photonic conflict with jquery

[Plugin: Photonic Gallery for Flickr, Picasa, SmugMug and 500px] Photonic conflict with jquery

  • Hi,
    When I enable Photonic (and Fancybox for WordPress) I am getting the below error:
    a(c).offset(function (a, b) {return b;}).offset is not a function
    If I disable Photonic, Fancybox works as expected. I know this is not conflict between Photonic and Fancybox but still there is some conflict where jQuery is initialized twice or something.

    Can you please look into it? I’ll provide the detail for by blog and ftp link if you r interested. My blog is http://blog.zeronea.com/

    http://wordpress.org/extend/plugins/photonic/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sayontan Sinha
    Participant

    @sayontan

    There is a plugin you have that loads all of these on the front end:

    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.resizable.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.draggable.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.button.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js?ver=1.8.20'></script>
    <script type='text/javascript' src='http://blog.zeronea.com/wp-includes/js/jquery/ui/jquery.ui.dialog.min.js?ver=1.8.20'></script>

    Looking at your page I seriously doubt you have anything that needs “draggable”, or “resisable”, or “dialog” etc. in the front-end (all of these also contribute to your site load time). One of these scripts is causing a conflict. You might want to try switching off your plugins one by one to see which one is loading all of these up.

    I could see there are two versions in Suffusion. What do you suggest?
    Path: wp-content/themes/suffusion/admin/js/jquery-ui
    jquery-ui-1.8.7.custom.js
    jquery-ui-1.8.12.custom.js

    Can I send u an ID to play around and help me out because I really feel I’m not enough qualified for this.

    Plugin Author Sayontan Sinha
    Participant

    @sayontan

    Suffusion has nothing to do with it, and those two versions are never loaded together – one is loaded if you have an older version of WP and the other is loaded if you have a newer version of WP.

    As I mentioned in my previous post, just try and deactivate your plugins one by one – leave Fancybox and Photonic standing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Photonic Gallery for Flickr, Picasa, SmugMug and 500px] Photonic conflict with jquery’ is closed to new replies.