• Resolved ws24

    (@ws24)


    Hi, like your plugin thanks. However, in Inspector I get some errors that you may be interested in:
    – Uncaught TypeError: n.fancybox.getInstance is not a function
    at fancybox.min.js?ver=2.6.4:13:4467
    – Uncaught TypeError: e.fancybox.getInstance is not a function
    at HTMLDocument. (fancybox.min.js?ver=2.6.4:12:24201)
    at HTMLDocument.dispatch (jquery.min.js?ver=3.7.1:2:40035)
    at v.handle (jquery.min.js?ver=3.7.1:2:38006)

    Thanks.

    • This topic was modified 7 months ago by ws24.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FirelightWP

    (@firelightwp)

    Hi! Thanks for the report. Few thoughts here…

    1. Does the lightbox still open?
    2. We tested and can’t duplicate this error using the plugin with any of the lightbox version/options.
    3. I also see ‘fancybox.min.js?ver=2.6.4’ in your message. It is loading fancybox version 2.6.4, which we don’t include. Is it possible you have another plugin installed that is also loading it’s own version of fancybox (and generating this error)? To confirm, you could deactivate Easy Fancybox momentarily, and go back to the frontend and see if the error is still there.
    4. If the error goes away Easy Fancybox is deactivated, it could just be us, or it could be some kind of plugin conflict with another plugin that uses another version of fancybox.
    5. It could be helpful to see a link to a page with the issue if that’s something you can provide.

    Thanks again.

    Thread Starter ws24

    (@ws24)

    Hi, thank you for your fast answer and investigation.

    I’m indeed using your plugin with a Gallery plugin (Modula) and their built-in lightbox. Because I also have some singular images elsewhere on the website that I want to open in a lightbox I use your plugin too (the Modula lightbox only works with their own galleries). Modula recommends to use/install an extra, other Fancybox plugin if you have other singular images.
    So I think that you are right and that this was causing the problem. In the Modula gallery settings I have now chosen the setting ‘direct link to lightbox’ (instead of their own lightbox). Now all the images on the website use your lightbox and the problem seems to be solved.
    Thanks again.

    • This reply was modified 7 months ago by ws24.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError in Inspector’ is closed to new replies.