• Resolved Austin Ginder

    (@austinginder)


    After upgrading my website to WordPress 5.6, Popup Maker is no longer working. I’m running the latest version 1.13.1. Here is the Javascript error from DevTools that I’m seeing on my home page.

    pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7 Uncaught TypeError: t.addClass(...).position(...).trigger is not a function
        at n.fn.init.reposition (pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7)
        at n.fn.init.p.fn.popmake (pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7)
        at n.fn.init.open (pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7)
        at n.fn.init.p.fn.popmake (pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7)
        at pum-site-scripts.js?defer&generated=1606139499&ver=1.13.1:7
Viewing 15 replies - 1 through 15 (of 50 total)
  • Same here. Also on latest version of plugin.
    Is there a plugin update coming? It worked fine on WP5.5.3, stopped working after update to WP5.6. Also seeing the js errors on dev tools.

    I experience the same.

    After using jQuery Migrate Helper and switching back to jQuery Legacy 1.12.4-wp, Popup Maker is working again.

    Unfortunately, jQuery Legacy 1.12.4-wp is outdated and is no longer supported.

    Best regards

    Michael

    • This reply was modified 3 years, 11 months ago by Michael.

    Same here.

    Worked fine and with no issues, until the latest 5.6 wordpress update. Upon clicking on a pop up, it just generates the name of the pop up in the url, without opening a physical window on the page itself.

    Same error for me…

    Same error too for me
    update wordpress 5.6 not working.

    We await a new update of plugin

    Hey @austinginder @mmazziotti @mitfi @kokicot1994 @119prod and @saltun

    Thank you for using Popup Maker. We have tested 1.13.1 on all of our test sites using WordPress 5.6, and the popups have worked for us. We will continue to do more tests to see if we can replicate any errors.

    However, with major changes happening to jQuery within WordPress 5.5, WordPress 5.6, and WordPress 5.7, it is possible that these changes are causing errors in other plugins or themes. If an error occurs with other plugins or themes, it is possible this error will prevent popups from loading or opening correctly.

    So, to rule out any conflicts with other plugins or themes, please review our documentation on finding causes of conflicts here: https://docs.wppopupmaker.com/article/332-test-whether-a-plugin-or-theme-interferes-with-popup-maker

    If after testing for conflicts, please provide a URL for where the popup should be opening so that we can take a look to see if we can identify the cause.

    Hi @fpcorso.

    Thanks for your reply.

    I changed themes and disabled all the plugins, and the popups still don’t open after WP5.6. I troubleshooted some more, and it seems that if the trigger is set up to the popup class (ex: popmake-1111) then it opens correctly on click. (I have my popups set up to open on click). However, if it is set up to an another element’s class (ex, under popup settings I have:
    type: click open,
    cookie: none,
    settings extra selectors: .send-form),

    then it does not open.

    Hope that info is useful to you. Let us know what you find.

    Thanks!

    I am having the same issues. It’s not completely broken, however it’s conflicting with my homepage and not allowing it there, but it’s working on all the other pages. This specifically only occured with the WordPress update to 5.6. I would revert back to 5.5 — However, customer service settings for JetPack are requiring me update to 5.6, so I have to upgrade for those features.

    Hey @mmazziotti

    Thanks for doing some debugging! That is very interesting. I will do some tests with the information you provided and see if I can replicate the issue.

    Hey @mmazziotti

    I set up a test site with WordPress 5.6 with the default Twenty Twenty-One theme and only Popup Maker installed.

    I create a popup that uses a “Click Open” trigger with the extra CSS selector as “.send-form” as shown in this image:
    https://ibb.co/RpMBK6C

    I created a new page with the link on it with the class of “send-form” as shown in this image:
    https://ibb.co/NWPCHY4

    When I click on the link, the test popup correctly opens with no errors shown in the developer tools.

    Would you be able to provide a URL for the page where the popup should open so I can debug some more?

    Hi, @fpcorso

    Thanks for doing those tests. Is there an email where I can send you the link.. I will also include some screenshots?

    Hey @mmazziotti

    If you go to our support page: https://wppopupmaker.com/support/

    You can click on the “Plugin Support” option to send over links and screenshots.

    @fpcorso, I just sent more info through your support page

    I’m wondering if it’s a desktop issue? I was troubleshooting and it looks like the pop-up will work on my homepage on a mobile device, but won’t on a desktop?

    Just making this note if it helps anyone!

Viewing 15 replies - 1 through 15 (of 50 total)
  • The topic ‘WordPress 5.6 JS errors’ is closed to new replies.