• Resolved elseyadcock

    (@elseyadcock)


    Hi, Since the last Boxzilla update (Version 3.2.21) I have the following error in the console:-
    Uncaught TypeError: Cannot read property ‘className’ of null
    at Object.1.boxzilla (script.js:121)
    at a (script.js:1)
    at r (script.js:1)
    at script.js:1
    1.boxzilla @ script.js:121
    a @ script.js:1
    r @ script.js:1
    (anonymous) @ script.js:1

    The first error point to this:-
    ———
    var isLoggedIn = document.body.className.indexOf(‘logged-in’) > -1;

    if (isLoggedIn && options.testMode) {
    console.log(‘Boxzilla: Test mode is enabled. Please disable test mode if you\’re done testing.’);
    } // init boxzilla
    ———-
    /wp-content/plugins/boxzilla/assets/js/script.js

    I’m running WordPress version 5.3.2–en_GB.

    Anyone else seeing this?

    Thanks,
    Steve.

    • This topic was modified 4 years, 12 months ago by elseyadcock.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Steve,

    Thanks for reaching out to us.

    I’m unable to replicate this issue.

    Can you share more details about the number of pop-ups you have set using our plugin and screenshots of their settings if possible?

    Thread Starter elseyadcock

    (@elseyadcock)

    I have one pop-up that appears across the site. It contains a shortcode. I’ve removed the shortcode and tested and got the same error. The pop-up screenshot is here:-

    https://drive.google.com/open?id=1vu5U2-GGgXnrnRb3wlasL2G9h5hEky-1

    No caching on this site as yet, it’s still in development.

    Hope this helps.
    Steve.

    Thread Starter elseyadcock

    (@elseyadcock)

    By the way, no pop-ups are displaying although the html exists in the page code, but the div has in-line style set to display:none;

    Thread Starter elseyadcock

    (@elseyadcock)

    I’ve run through the plug-ins deactivating them and it appears the issue could be down to a clash between Boxzilla and Visual Composer (not WP Bakery Page Builder). I have raised a ticket with them.

    Thanks,
    Steve.

    Plugin Contributor Lap

    (@lapzor)

    Thanks for debugging this issue and sharing your findings. I will discuss this issue with Danny and see if it’s something we can solve from our side.

    It will take (at least) a few days to look into this.

    I would like to take a look at your settings as I couldn’t reproduce the issue on my own test setup. Can you please email me a link to this thread on support@ boxzillaplugin.com ?

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘script.js:121 Uncaught TypeError: Cannot read property ‘className’ of null’ is closed to new replies.