Support » Plugin: Lightbox » V2.0.9 Javascript error – plugin not working

  • Resolved tony08

    (@tony08)


    After updating the plugin the lightbox doesn’t seem to work anymore. It’s giving this console error in firefox, ie11. I already rolled back the plugin to the previous version and it works again. Please fix this so I can update the plugin.

    Console error:

    SCRIPT5007: Unable to get property ‘0’ of undefined or null reference
    lightbox.js (398,9)

    -> lightbox.js

    switch($object.settings.openCloseType[0]){
                case 'open_1':
                case 'open_2':
                case 'open_3':
                case 'open_4':
                case 'open_5':
                case 'open_1_r':
                case 'open_2_r':
                case 'open_3_r':
                case 'open_4_r':
                case 'open_5_r':
                    setTimeout(function(){
                        $object.$cont.addClass('rwd-visible');
                        $('.rwd-container').addClass($object.settings.openCloseType[0]);
                    }, 0);
                    break;
                default:
                    $('.rwd-container').addClass($object.settings.openCloseType[0]);
                    setTimeout(function () {
                        $object.$cont.addClass('rwd-visible');
                    }, this.settings.overlayDuration);
                    break;
            }
Viewing 6 replies - 1 through 6 (of 6 total)
  • Huge-IT Support

    (@huge-it-support-1)

    Dear tony08,

    Thank you for contacting us.

    Please, be kindly informed that we have checked the error in your console.
    This error is definitely related to the database and is site-specific as we do not have this kind of errors.
    Could you, please, send us your PHP version, and we will try to test.

    Regards

    Hello,

    Thank you for your reply. We are using PHP Version 7.1.1.

    Huge-IT Support

    (@huge-it-support-1)

    Dear tony08,

    Thank you for the additional information.
    Please, be kindly informed that we have tested it at our end and faced no issue.
    As we could understand the issue comes from the database. Seems like something is wrong with database parameters values.
    In the case, if you could contact us directly on our website, which is Huge-IT.com or use this contact us form https://huge-it.com/contact-us/ we will be happy to investigate the case deeper and offer you an appropriate solution.

    Please, include this forum link to the email.

    Looking forward to hearing from you soon.
    Regards,

    Hi,
    we have the same Problem with our site and Huge IT Lightbox.
    I’ve send you an email through your contact form.

    Regards, Johannes

    WordPress: 4.8
    Huge IT Lightbox: 2.0.9
    PHP: 5.6
    MySQL: 5.5
    URL: http://hms.netperformers.de/referenzen/neubau-3-familienwohnhaus-in-der-altstadt-von-schwalbach-am-taunus/

    • This reply was modified 2 years, 8 months ago by drjoe66.
    Huge-IT Support

    (@huge-it-support-1)

    Dear drjoe66,

    Thank you for contacting us.

    Please, be kindly informed that our support team department has already replied to your email.
    In the case, if you do not see it in the inbox, please, check your spam folder as well.

    Regards,

    Huge-IT Support

    (@huge-it-support-1)

    It has been one week, we are marking the ticket as resolved, because it is site specific and we have got no reply. Feel free to reply at any time with more information on this issue or un-resolve the topic if you do return to the ticket with a reply.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘V2.0.9 Javascript error – plugin not working’ is closed to new replies.