• Resolved TheHungryGeek

    (@thehungrygeek)


    I encountered some bugs with my site, so I started deactivating and reactivating plugins to test.

    After deactivating and reactivating WordPress Popups plugin, I get the so-called ‘grey screen of death’.

    wp-admin works, top and side menus are showing. But when I click on any item in the admin menu, the page shows up for a second before the content portion disappears into a grey screen. To clarify, top and side menus still work, but clicking on anything just gives a grey screen after showing content for like one second.

    Your plugin causes this error message to appear:

    Uncaught HierarchyRequestError: Failed to execute 'insertBefore' on 'Node': The new child element contains the parent.

    The code in question is:

    this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)

    I had to manually deactivate the plugin via cPanel to continue to have access to wp-admin.

    Any ideas for a fix? I would love to continue using your plugin.

    https://www.ads-software.com/plugins/popups/

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter TheHungryGeek

    (@thehungrygeek)

    I tried updating to v1.5 but the bug persists.

    So this is how I fixed it:

    1. With Popups plugin in deactivated state, I manually deleted the Popups folder using cPanel.

    2. Manually uploaded 1.4.6, installed and activated. Everything works completely fine. So this bug was definitely introduced in 1.4.6.1.

    3. After successfully activating 1.4.6 (and crossing out or hiding the call to action box at the top that typically appears just after activating), did an update to 1.5 and there is no more grey screen of death.

    4. The bug is triggered by the deactivation and activation process – basically something that was introduced in 1.4.6.1. If I had to guess, its might be something to do with the banner on top telling you to rate the plugin or something when you just activate it. Specifically some new jQuery code.

    To confirm, v1.5 has the same ‘grey screen of death’ bug as 1.4.6.1. E.g. I’m sure if I deactivated and reactivated the plugin now, the bug would return.

    Hope this gives you some direction with troubleshooting.

    I’m running 1.4.6.1 now and have not seen the problem, but I have not tried to deactivate/re-activate it either.

    Plugin Author Damian

    (@timersys)

    Guys I found the issue, @thehungrygeek you were right the issue was there a closing unordered list was </ul instead of </ul if the admin notice and it was making everything go to hell

    Just pulled update

    Plugin Author Damian

    (@timersys)

    Please Update to 1.5.1
    If you have the issue and can’t fix it, you will need to use ftp or cpanel to go to wp-content/plugins and delete the popups folder

    Thanks and sorry for the issue

    Plugin Author Damian

    (@timersys)

    Actually you don’t need to delete the plugin. You could simple access the following url and should do the trick

    https://yourdomain.com/wp-admin/?spu_notice=rate_plugin

    Of course replace yourdomain.com with your actual site url

    Thread Starter TheHungryGeek

    (@thehungrygeek)

    That’s great Damian, glad its fixed ??

    Do I get a cookie for spotting the fix? Wouldn’t mind trying the premium version hehe XD

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Grey screen of death’ is closed to new replies.