Support » Plugin: Lightbox » Uncaught TypeError: jQuery(…).lightbox is not a function

  • Resolved derrickr


    I’ve been getting a javascript error with huge it lightbox for some time, but only just got round to looking into it.

    First thing I noticed that my installed version was ‘10.0’. Looking at the change log, I saw the latest change was 1.6.8, so I changed the value to that and (of course) it immediately said an update was available.

    Thinking that may solve my problem, I immediately updated to version ‘2.1.0’.

    Refreshed my page, opened the chrome developer console and unfortunately a new javascript error persists:

    Uncaught TypeError: jQuery(...).lightbox is not a function
        at custom.js?ver=1.0:141
        at dispatch (jquery.js?ver=1.12.4:3)
        at r.handle (jquery.js?ver=1.12.4:3)
    (anonymous) @ custom.js?ver=1.0:141
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    I believe the “Uncaught TypeError: jQuery(…).lightbox is not a function” error is referring to: wp-content/plugins/lightbox/js/frontend/custom.js

    Any ideas?

    • This topic was modified 2 years, 7 months ago by derrickr. Reason: added huge it lightbox path
Viewing 2 replies - 1 through 2 (of 2 total)
  • Commenting out “jQuery(‘.responsive_lightbox’).lightbox();” from wp-content/plugins/lightbox/js/frontend/custom.js removes the error, but I think it’s probably needed…?

    Huge-IT Support


    Dear derrickr,

    Thank you for contacting us,

    As we could understand from the code you have provided, there is a plugin js conflict with theme js files.
    In the case, if the error still exists, please, contact us directly on our website, using this contact us form
    We will be happy to investigate the case deeper and assist you.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError: jQuery(…).lightbox is not a function’ is closed to new replies.