• Resolved tnoguchi

    (@tnoguchi)


    Hi,

    We just discovered a JS issue which is preventing PUM from initializing, and breaking all popup functionality on the site.

    The site is using the latest version of the plugin, 1.11.0. The console error message is below:

    Uncaught TypeError: Cannot read property 'applyFilters' of undefined
        at HTMLDocument.<anonymous> (pum-site-scripts.js?defer&generated=1593933493&ver=1.11.0:formatted:455)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:2)
        at pum-site-scripts.js?defer&generated=1593933493&ver=1.11.0:formatted:454
        at pum-site-scripts.js?defer&generated=1593933493&ver=1.11.0:formatted:465
    • I can’t disclose the name of the site in a public forum, but would be happy to disclose this in a PM.
    • The site is hosted on WPEngine, and leverages WPE and Cloudflare CDN. However, this doesn’t look like a file optimization/minification issue.
    • We’re able to replicate the issue on both remote and local dev instances
    • It looks like the issue was introduced with the latest plugin update to 1.11.0
    • We tried disabling a number of plugins that we thought potentially could conflict, and also removing some theme JS code that we introduced in a commit that we deployed at the end of last month, but this hasn’t fixed the issue.
    • We’re only using the copy of jQuery v 1.12.4 that comes bundled in WP core–no custom jQuery version, or redundant jQuery library is being enqueued.
    • The problem seems intermittent, and occurs not at every page load. I tried to disable caching of PUM assets in uploads but this doesn’t fix the issue either.
    • As a sanity check, I checked, and all ad blockers, etc have been disabled on my browser, also replicated this on Browserstack.

    I’m a bit baffled by this error, and am reaching out to see if there’s something that I’m missing.

    Appreciate your help in resolving this problem.

    Thank You,

    Tak

    • This topic was modified 4 years, 4 months ago by tnoguchi. Reason: Corrected spelling error
    • This topic was modified 4 years, 4 months ago by tnoguchi. Reason: Edit for additional clarification
    • This topic was modified 4 years, 4 months ago by tnoguchi.
    • This topic was modified 4 years, 4 months ago by tnoguchi. Reason: Edit for additional clarification
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘JS Error Preventing Popup Init’ is closed to new replies.