• Resolved beamkiller

    (@beamkiller)


    Hi,

    I have installed you plugin, which is very good. Thanks for this good plugin. Everything works fine. But I have noticed that after installint your plugin there are JS errors in console.

    Uncaught TypeError: Cannot read property ‘push’ of undefined
    4TweenMax.min.js?ver=1.14.2:14
    Uncaught TypeError: Cannot read property ‘length’ of undefined
    TweenMax.min.js?ver=1.14.2:14

    1. http://mpatika.hu
    2. You must click on phone at top right corner
    3. It works!

    Is there a way to solve these JS errors?

    Thanks for the help,
    Peter.

    https://wordpress.org/plugins/popup-maker/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @beamkiller – Looks like you may be using Rev Slider. Updating it to the latest version should resolve the issues your seeing.

    Hope this helps.

    Thread Starter beamkiller

    (@beamkiller)

    Dear danieliser,

    I will try it, and inform you :).

    We use LayerSlider on our pages.

    Plugin Author Daniel Iser

    (@danieliser)

    Be sure you are using the latest version of LayerSlider. I thought they used jQuery Transit but they may have changed it.

    If that doesn’t work I will be making some changes in the next major update that will likely address those types of issues.

    @beamkiller – Are you still having these issues? Can you try updating to the latest versions of LayerSlider and Popup Maker? We removed a lot of dependencies in the latest update, so this issue may be resolved by updating.

    We are using http://themeforest.net/item/one-the-creative-multipurpose-portfolio-theme/7624003
    We have 2 separate installations, but popupmaker doesnt work for one site, the other is ok. Both have updated plugins.
    Same issue as above, tweenmax and popup scripts

    Uncaught TypeError: Cannot read property ‘replace’ of undefined
    popup-maker-site.min.js?defer&ver=1.2:26

    Plugin Author Daniel Iser

    (@danieliser)

    @john.silvestre – Hmm do you have a link? Sounds like an issue that should have been solved in v1.2.1

    Hi Daniel, can I share the link with you personally? if you can provide me your email or any means I can reach you, would be great.

    Plugin Author Daniel Iser

    (@danieliser)

    @john.silvestre – Sure danieliser at wizardinternetsolutions.com

    Daniel, thanks for the help,

    It was the theme that got broken, and resetting it to default resolved the issue. As per your suggestion, adding:

    delete_option('popmake_default_theme');

    into functions.php, did the trick.
    And yes, we have to remove it after a refresh, just so it doesn’t reset the theme each page load.

    Thanks Daniel!

    Beccibecci

    (@beccibecci)

    Hi John,
    can you explain where exactly I have to add this?

    Thanks
    Becci

    Plugin Author Daniel Iser

    (@danieliser)

    @beccibecci Anywhere in your themes functions.php file should do the trick.

    Beccibecci

    (@beccibecci)

    Still not working for me. Any other idea. Popups want open.

    Beccibecci

    (@beccibecci)

    Solved it by myself. I think it was a combination of the import and human error. After the delete_option change at the functions.php, I started from scratch with my sites and forgot to activate the “Targeting Conditions”. Set “Targeting Conditions” to the whole site and now it works.

    Becci

    Plugin Author Daniel Iser

    (@danieliser)

    @beccibecci – Glad you got it working. As I mentioned in your other thread, targeting conditions would likely have to be done after the fact since they generally target specific page/post ids, which will not be the same after an export import. Those page ids will be different meaning the targeting conditions would be incorrect.

    Thread Starter beamkiller

    (@beamkiller)

    Dear danieliser and Jonathan Wilson,

    These kind of JS errors was solved. My popup worked fine, but now I have another issue with JS.

    LayserSlider (5.4) and Popup Maker(1.2.2) is updated to the latest version.

    JS Error: Uncaught TypeError: Cannot read property ‘replace’ of undefined in http://mpatika.hu/wp-content/plugins/popup-maker/assets/scripts/popup-maker-site.min.js?defer&ver=1.2.2

    If you open my pages: http://mpatika.hu and click on the little phone icon fixed to the right side of the page, you should see the issue.

    Thanks for the help.
    Regards,
    Peter.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘After installing plugin i got JS errors in console’ is closed to new replies.