• Resolved evilcrusher2

    (@evilcrusher2)


    Was working on the pop-up over the last 24 hours, trying to make an external form work inside of it. The pop up was working. As of this morning it was still working, but my form was still failing so I unpublished the pop-up. Upon adjusting the form from within Hustle, republishing it pop-up, it does not show. I deleted the pop-up to start from scratch, and the pop-up has still not shown up, despite it should show immediately upon arriving to the page for testing. Nothing has changed since installing this and having the pop up work. I am currently backing up my site via Cpanel in case it breaks for some random reason.

    Looking at the debugging in the plugin this is what is displayed.

    Warning: preg_match() expects parameter 2 to be string, array given in /home2/username/txcannaco.com/wp-includes/class-wp-block-parser.php on line 417

    Warning: strlen() expects parameter 1 to be string, array given in /home2/username/txcannaco.com/wp-includes/class-wp-block-parser.php on line 489

    Warning: implode(): Invalid arguments passed in /home2/username/txcannaco.com/wp-content/plugins/wordpress-popup/views/admin/elements/notice-inline.php on line 52

    Username is my username but changed to maintain some privacy and security of the site.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter evilcrusher2

    (@evilcrusher2)

    Update: Started a conflict test with plug-ins. Turned everything but Hustle, off. Debus errors still the same and pop-up Still did not work. Tried creating a new pop-up – email opt-in. Test in and that did not work. As I go to switch browser windows, the pop-up appears. It worked for trying to close the window. So I looked at the setting for behavior. Turned off click, exit, and ad-block. Set timer to 5 seconds and scroll to 50%. Pop-up worked by popping up within 5 seconds, despite this setting was on earlier with that time with other setting enabled. I went through every plugin one at a time testing them to see if the pop-up would show in 5 seconds. Worked every time. So, this is not a plug-in conflict issue, nor is it a theme issue if it’s working. I’m starting to suspect there is conflict taking place with the trigger settings.

    Thread Starter evilcrusher2

    (@evilcrusher2)

    Another update: So I tried creating a new pop-up that wasn’t an email opt-in. Got everything designed the same way with same setting except for changing the wait time to 15 seconds and making the scroll length 55%. Did not publish. Save draft. Unpublished the other form, then published the new one.

    The old form is still popping up and it is doing so after 5 seconds. Even after being unpublished, cache flushed, the same pop-up form is showing up.

    I am at a loss as to how to move forward with trying to solve this issue.

    Thread Starter evilcrusher2

    (@evilcrusher2)

    Went to run an errand, check the site via my phone regular chrome and incognito. No pop-up showing up. Unpublished the regular pop-up and republished the email opt-in pop-up. Within reloading incognito 3 times, that pop-up works at the time interval desired, but only that works as a trigger. On this test nothing was done to my WordPress caching plugin (cache wasn’t dumped).

    We are getting the same error messages as @evilcrusher2 when using a Hustle popup message on two different websites – same message on both sites. Also, some of the website customers are reporting 403 errors after the popup appears. Not sure if that is related or not, but it stops when the popup is disabled. Any suggestions, Hustle?

    PHP Warning: preg_match() expects parameter 2 to be string, array given in /wp-includes/class-wp-block-parser.php on line 417
    PHP Warning: strlen() expects parameter 1 to be string, array given in /wp-includes/class-wp-block-parser.php on line 489
    PHP Warning: implode(): Invalid arguments passed in /wp-content/plugins/wordpress-popup/views/admin/elements/notice-inline.php on line 52

    Also, this same issue is reported on Plugin Tests, dated Dec 2019. No solution is posted, though.

    https://plugintests.com/plugins/wordpress-popup/latest

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hello @evilcrusher2
    hi @swatts

    As for that error set.

    Our developers are already aware of the issue and I see that the fix is expected soon. If it passes all the tests it should be included in upcoming major release. I don’t have exact ETA but preliminary release schedule is around middle of this month.

    As for the unexpected behavior of the popup trigger @evilcrusher2:

    This is indeed quite “weird” and I tried to replicate it on my site now but I’m not quite sure if I did it right and I couldn’t really get such behavior (if I understand it correctly). I must say that you did a lot of great work testing and troubleshooting the case and sharing all the details with us but… I’m slightly confused at the moment.

    That’s why I’d like to ask you: would you mind sharing some sort of an exact “step by step” guide with us on how to replicate that starting from scratch and what exactly to look for that would be a clear sign that we successfully replicate the issue?

    I’d appreciate it a lot and it would greatly help us further investigate the case.

    Best regards,
    Adam

    Thread Starter evilcrusher2

    (@evilcrusher2)

    From what I can tell, once it is set initially, it will work, but if any adjustments have to be made, it quits. One thing I would consider adding in to the plugin is a way to have a test mode that works externally of the plugin settings window. Opens a new browser and that test window is ap ge that ignores cookie settings to avoid getting snagged on a reset time.

    I am going to test again now by starting clean and see if I can get it to work on my main site. If so, I’ll report back as working and test on another site I have and tweak with it there to see what breaks it. Sorry this takes so long and will be done that way, but if I get it to work, I’m going to stick with that on that site as I need it up and going ASAP.

    Thread Starter evilcrusher2

    (@evilcrusher2)

    Note, last comment should say test window that is a page that ignores*

    So, I removed the plugin. Cleared my cache from WP SuperCache. Did a database optimization to clear up any loose ends. Cleared my browser cache.

    From there I installed the plugin again. I chose the standard pop-up option on the right for creating a pop-up. Got the settings I wanted and hit publish. It works. I have not messed with that site’s pop-up settings as that has broken it in the past.

    So I tried this on another site, using a theme with a very very similar design and layout made by the same theme company, MH themes. I get that the plugins aren’t the same (no different than the ones I had on the initial site, actually less of them) and the theme isn’t the same, so the environment isn’t exactly the same. But if the same types of issues are taking place across multiple themes of the same AND different creators , it may give hint that the theme is not the issue.

    I tried the same thing on another site, Educatingtexans.org. Installed the plugin, set the pop-up up as desired with the default behavior settings for pop-up trigger other than changing the timed delay to 15 seconds and closing and when it can pop up again, and published. It didn’t work. So I decided to change the pop-up trigger settings one by one and see if that made anything work. I started first with the ad-block detection. I turned it on from off. Opened the site in an incognito tab, and it immediately popped up. I turned the setting back off and now it is working via a timed delay. I will note that the scroll trigger has never worked on any of the tests that I’ve done.

    At this point I am not going to mess around with it anymore, as it is working and I won’t want it to break on me.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @evilcrusher2

    I hope you are doing well!

    Thank you for testing the plugin on your site. Based on your reply, it looks like there is a conflict with the MH theme (or if there is any other plugin active, a conflict with a plugin).

    The MH Themes, I’m afraid is a premium theme and we do not have access to it to test it out, and per www.remarpro.com regulation we can provide support in here only for free plugins/themes.

    To test properly for a conflict with another plugin, please deactivate all plugins, besides Hustle, and switch to a default WordPress theme.

    – If all is well, activate the MH Theme and check if the issue is there
    – If the issue is not there, start activating one plugin at a time till the issue will be back.

    This way you will find if it is another plugin or theme that is conflicting. Please have a backup of your site before running this test.

    Kind regards,
    Nastia

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pop-up randomly stopped working’ is closed to new replies.