• Resolved Cealin

    (@cealin)


    Hello,

    Popup not working anymore because of javascript error in rule 295:
    var func = ‘triggerBy’ + $triggers[i].trigger.charAt(0).toUpperCase() + $triggers[i].trigger.substr(1),

    Console says:

    wppopups.js?ver=2.0.3.7:295 Uncaught TypeError: Cannot read property ‘charAt’ of undefined
    at Object.bindPopupTriggers (wppopups.js?ver=2.0.3.7:295)
    at HTMLDivElement.<anonymous> (wppopups.js?ver=2.0.3.7:124)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at Object.loopPopups (wppopups.js?ver=2.0.3.7:118)
    at HTMLDocument.start (wppopups.js?ver=2.0.3.7:107)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)

    What to do?
    Kind regards

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Damian

    (@timersys)

    Hi @cealin,
    Are you using any javascript concatenator and minification? If that’s the case could you disable it temporarily to see if that’s the issue?

    Thread Starter Cealin

    (@cealin)

    Hello Damian,

    Thanks for the fast reply! There were indeed such optimizations. I copied the site to a testing environment, removed all other plugins, activated WordPress default 2020 theme. Still got the error.

    I reverted back to 1.9.x.x version, which still works properly.

    Kind regards

    Plugin Author Damian

    (@timersys)

    What about the popup? Do you have the default popup? Have you tried saving the settings?
    Please share the url of the testing environment

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Javascript error’ is closed to new replies.