• Resolved Mike-Ism

    (@mike-ism)


    Hello,

    This plugin looks interesting, unfortunately I get a fatal error immediately when I install it. The error exists on all pages, and is only resolved by deleting the plugin via FTP. Here is the error:

    Fatal error: Call to a member function get() on a non-object in /home/staging/wp-includes/query.php on line 28

    Any help would be great.

    Theme: Divi
    WP: 4.4

    Thanks

    https://www.ads-software.com/plugins/popup-maker/

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

    (@danieliser)

    @mike-ism – I tested it thouroughly on WP 4.4 before it released. Just to double check tried it now on a fresh install. Activated without error. This is the second report of this though but the other user wasn’t able to help debug any more than reporting the error. Any chance you can enable WP_DEBUG & Logging so we can catch the full debug stack trace that will show what triggered the error? Currently the error is indicating an issue in WP core files but is likely caused by something else and the log will tell us where.

    BTW this is most likely a conflict with another plugin/theme not with core wp.

    Hope that helps.

    Thread Starter Mike-Ism

    (@mike-ism)

    Hi,

    I tested with:

    define( ‘WP_DEBUG’, true );
    define( ‘SCRIPT_DEBUG’, true );

    and nothing comes up. As soon as I attempt to activate the plugin, I get the error mentioned above.

    I have tested with all plugin disabled, and default theme – same result.

    Anything you can do to help would be appreciated. I think that your plugin would be the perfect solution to my problem.

    Plugin Author Daniel Iser

    (@danieliser)

    @mike-ism – Enable WP_DEBUG_LOG and then activate it, it should create a debug.log file in your wp-contents folder with all the errors.

    Daniel…. I’m getting it too. What’s worse, is I am rebuilding a new site for a current client and need to reuse this plugin and the popups created. ??

    Had to delete the folder to get the site back up so no use giving that.

    Happens with default theme too.

    Saw this one (https://www.ads-software.com/support/topic/receiving-fatal-error-for-entire-site-afrer-updating-a-plug-in?replies=5) but it’s def yours. Been using yours for a couple of years now.

    Plugin Author Daniel Iser

    (@danieliser)

    @dani Weymouth – Although I can’t / won’t say there are 0 bugs as that would simply be false, this has never been 100% linked to just Popup Maker, there has always been a companion plugin/theme required to trigger it. IE activating Popup Maker alone on the same install usually doesn’t trigger any issues, only when a second plugin is active does it happen, though I imagine if PM was active first and you enabled the second the same thing would happen, and deleting the folder for the other plugin would still likely resolve it.

    Any chance you can test to determine what its conflicting with?

    Also be sure to backup first but you can also grab a copy of v1.4 beta https://wppopupmaker.com/version/1.4.0-beta1

    It has replaced a lot of code and may not have the same issues at all, but it does change the data for your popups so backup first as there is no go back button.

    Thanks. Where is the data for the popups saved? Meaning in main popup tables or other tables?

    Plugin Author Daniel Iser

    (@danieliser)

    @dani Weymouth – Popups & Popup Themes are both custom post types and stored in the wp_posts table, with meta in wp_postmeta.

    You may try something like this instead for your backups so that you can 1 click restore. https://www.ads-software.com/plugins/updraftplus/

    With your beta I’m getting: Fatal error: Call to undefined function boolval() in …/wp-content/plugins/popup-maker/includes/admin/class-pum-admin-upgrades.php on line 443

    Plugin Author Daniel Iser

    (@danieliser)

    @dani Weymouth – This has been patched in the dev branch, you can add this to your themes functions.php to get around it for now.

    if ( ! function_exists( 'boolval' ) ) {
    	function boolval( $val ) {
    		return ( bool ) $val;
    	}
    }

    Let me know if you run into any other issues, we are working out a few other kinks and any feedback you have is crucial :).

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error immediately upon install’ is closed to new replies.