Forums › Forums › Search & Filter Pro › Fatal error after install the pro version !!
- This topic has 5 replies, 3 voices, and was last updated 9 years, 1 month ago by
Ross.
-
Anonymous(Private) March 24, 2016 at 8:46 pm #40519
the error appears when I activate the plugin
Fatal error: Call to a member function get() on null in /var/www/vhosts/xxxxxxxxxx.de/httpdocs/xxxx/wp-includes/query.php on line 28when I comment out in query.php the line nr.28
// return $wp_query->get( $var, $default );
I can activate the plugin.
after that, I remove the uncomment lines
return $wp_query->get( $var, $default );and it still works.
so, to activate the plugin I need to commend out line 28 ?
can u fix that?Trevor(Private) March 24, 2016 at 8:54 pm #40520This is not happening for other users, so I suspect that another plugin is actually conflicting, or the theme. The file you refer to is a core WordPress file that contains functions called by other plugins and themes, but it is the core file that reports the error when it is called. Having the extra error might help us find that conflict.
Anonymous(Private) March 24, 2016 at 9:04 pm #40521I used google and found this:
https://wordpress.org/support/topic/fatal-error-in-queryphp-line-28same here
commend out line 28
activate plugin
removed the commend out back to original core
and it works.
I now also can deactivate and activate the plugin without need to touch the query.phpvery very strange
-
AuthorPosts