Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mike Toppa

    (@toppa)

    Please try the current version (3.4.3) which has a number of bug fixes. If there’s still a problem let me know.

    Thread Starter danielcastro

    (@danielcastro)

    I updated to the current version, but I still get the same error.

    [22:56:22.100] ReferenceError: setShashinFancyBoxCaption is not defined @ https://www.losaltosauxiliary.org/wp-content/plugins/shashin/public/display/shashin.js?ver=3.4.3:44

    Plugin Author Mike Toppa

    (@toppa)

    Can you give me a link to a page where you are using Shashin? I clicked around a bit but couldn’t find it being used anywhere (I’m not getting this error on my site so I need to diagnose it on yours).

    Thread Starter danielcastro

    (@danielcastro)

    Sorry, I had it deactivated since it renders the homepage unusable in Firefox. I’ve reactivate the plug-in.

    You can see the JS error in the console in Firefox, along with the page load error (if you compare to Chrome or IE).

    The plugin itself is used on this page: https://www.losaltosauxiliary.org/how-we-help

    But it is on the home page https://www.losaltosauxiliary.org/ where the error appears.

    Plugin Author Mike Toppa

    (@toppa)

    Thanks. Testing with Firefox, I see the error now – on my site as well. I’ll get this fixed. But I would also recommend switching to prettyPhoto (on the Shashin settings page), as I plan to remove Fancybox in the next version of Shashin anyway (the version of Fancybox that has a WordPress compatible license hasn’t been updated in years).

    Thread Starter danielcastro

    (@danielcastro)

    Thanks. That fixed it.

    Thread Starter danielcastro

    (@danielcastro)

    I spoke too soon.

    I’m still getting an error on this page: https://www.losaltosauxiliary.org/centerpieces

    …which results in the nav menu not appearing.

    In Firefox:

    [21:32:28.721] TypeError: $(…).shashinPrettyPhoto is not a function @ https://www.losaltosauxiliary.org/wp-content/plugins/shashin/public/display/shashin.js?ver=3.4.3:34

    In Chrome:

    Uncaught TypeError: Object [object Object] has no method ‘shashinPrettyPhoto’ shashin.js?ver=3.4.3:34
    (anonymous function) shashin.js?ver=3.4.3:34
    k jquery.min.js:2
    l.fireWith jquery.min.js:2
    p.extend.ready jquery.min.js:2
    D jquery.min.js:2

    Plugin Author Mike Toppa

    (@toppa)

    I just spent about an hour trying to debug this, but unfortunately I don’t have a specific answer for you. I downloaded a copy of your page, and I found that when I removed all the html from the body section of the document, except for the parts needed for shashin, everything worked fine and that error went away. You have a lot of javascript files being loaded on your site, and it’s not straightforward trying to track down all the interactions. There is something causing a conflict with Shashin. You could try turning off your other plugins and temporarily switching themes, and then incrementally turn everything back on, to see what triggers the conflict.

    Also, this weekend I will uploaded a version of Shashin that fixes the original fancybox problem you reported. When that is ready you could switch back to using Fancybox, at least for now.

    Plugin Author Mike Toppa

    (@toppa)

    I posted a message here a minute ago that I thought was the answer, but it wasn’t (I mis-read the jQuery version being loaded on your site). The forum doesn’t let me delete the message, so I’m putting this message here instead of leaving a blank post.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘javascript error’ is closed to new replies.