Forums Forums Search & Filter Pro Fatal error after install the pro version !!

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #40504

    Fatal error: Call to a member function get() on null in /var/www/vhosts/xxxxxxxxx.de/httpdocs/xxxxxxx/wp-includes/query.php on line 28

    Trevor
    #40517

    If you switch WordPress debug and logging modes on, hopefully some more details will be available to further examine. See here:

    https://codex.wordpress.org/Debugging_in_WordPress

    Anonymous
    #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 28

    when 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
    #40520

    This 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
    #40521

    I used google and found this:
    https://wordpress.org/support/topic/fatal-error-in-queryphp-line-28

    same 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.php

    very very strange

    Trevor
    #40523

    Indeed. I will put it on our to-do list

    Ross Moderator
    #40668

    Closing this as duplicate.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)