Title: javascript error
Last modified: August 21, 2016

---

# javascript error

 *  [danielcastro](https://wordpress.org/support/users/danielcastro/)
 * (@danielcastro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/)
 * After updating to the latest version of this plugin, 3.4.1, I am now getting 
   a javascript error on my site in Firefox only. This is causing problems in my
   theme. (When I disable the Shashin plugin the theme works again in Firefox).
 * Any ideas?
 * [http://wordpress.org/plugins/shashin/](http://wordpress.org/plugins/shashin/)

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

 *  Plugin Author [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166962)
 * 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](https://wordpress.org/support/users/danielcastro/)
 * (@danielcastro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166963)
 * I updated to the current version, but I still get the same error.
 * [22:56:22.100] ReferenceError: setShashinFancyBoxCaption is not defined @ [http://www.losaltosauxiliary.org/wp-content/plugins/shashin/public/display/shashin.js?ver=3.4.3:44](http://www.losaltosauxiliary.org/wp-content/plugins/shashin/public/display/shashin.js?ver=3.4.3:44)
 *  Plugin Author [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166964)
 * 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](https://wordpress.org/support/users/danielcastro/)
 * (@danielcastro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166966)
 * 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: [http://www.losaltosauxiliary.org/how-we-help](http://www.losaltosauxiliary.org/how-we-help)
 * But it is on the home page [http://www.losaltosauxiliary.org/](http://www.losaltosauxiliary.org/)
   where the error appears.
 *  Plugin Author [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166967)
 * 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](https://wordpress.org/support/users/danielcastro/)
 * (@danielcastro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166968)
 * Thanks. That fixed it.
 *  Thread Starter [danielcastro](https://wordpress.org/support/users/danielcastro/)
 * (@danielcastro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166970)
 * I spoke too soon.
 * I’m still getting an error on this page: [http://www.losaltosauxiliary.org/centerpieces](http://www.losaltosauxiliary.org/centerpieces)
 * …which results in the nav menu not appearing.
 * In Firefox:
 * [21:32:28.721] TypeError: $(…).shashinPrettyPhoto is not a function @ [http://www.losaltosauxiliary.org/wp-content/plugins/shashin/public/display/shashin.js?ver=3.4.3:34](http://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](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166971)
 * 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](https://wordpress.org/support/users/toppa/)
 * (@toppa)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166994)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/shashin.svg)
 * [Shashin](https://wordpress.org/plugins/shashin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shashin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shashin/)
 * [Active Topics](https://wordpress.org/support/plugin/shashin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shashin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shashin/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Mike Toppa](https://wordpress.org/support/users/toppa/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/javascript-error-29/#post-4166994)
 * Status: not resolved