CPKN on "[Plugin: Popup Maker] Update & Activating 1.4.7 causes Fatal Error"

ساخت وبلاگ

Hello,

when trying to update the plugin to 1.4.7, as soon as I activate, the page shows this error:

fatal error: call to a member function get() on null .../includes/query.php line 27

Here is line 25 to 27:

function get_query_var( $var, $default = '' ) { global $wp_query; retu $wp_query->get( $var, $default );

Not sure what's going on or how to fix it.

Any Ideas?

Note: deleted url section before "includes" for security.

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

@CPKN - Hmm that is way to generic for us to even know where to look. Any chance you can follow this guide and get a stacktrace pointing us in the right direction?

http://www.barrykooij.com/white-screen-wordpress/

This is the first report of this so please bear with me and we will get it worked out.

Hello,

Thanks for the reply.

Not a problem! :-)

I will get it done ASAP!

Cheers!

@CPKN - Awesome, I am off for the night (4:30am here) so I will take a look first thing and hopefully there is enough info that I can patch tomorrow for you without any extra back and forth :).

Hello,

So had a bit of a bump getting the code to work, but then I thought I had it until I new error came up:

Fatal error: Call to undefined function nocache_headers() in .../wp-admin/admin.php on line 33

Line 33 is literally

nocache_headers()

Dunno why this affects it when adding the code but otherwise is fine?

I will try again when I can later today/tonight (currently 12:30pm), if you have any ideas on what I have done wrong, let me know.

I will keep you posted.

Note: I can remove the line of code in query.php to get my website running without WSOD, but as I am not pro with this sort of thing, I don't know if that would be bad to keep out for the long term.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 71 تاريخ : چهارشنبه 8 ارديبهشت 1395 ساعت: 9:54