[Plugin: Events Manager] Call to a member function get() on a non-object in query.php on line 27
-
Hello,
I’ve upgraded wp-events from 5.0.42 to 5.1.6 and I am getting the following error:
Fatal error: Call to a member function get() on a non-object in /homez.532/nosta/www/wp-includes/query.php on line 27
The error only appears when I enable a themeforest theme (goodminimal). I contacted the author but he wasn’t able to help.
Line 27 is the first function in the file:
function get_query_var($var) {
global $wp_query;
return $wp_query->get($var);
}Should this help, I just tried to install all versions in between 5.0.42 and 5.1.6, and the error appears starting version 5.1.4.
Does anyone know what could cause this starting version 5.1.4? The website is not live yet so I can provide access if needed.
Best regards,
Michael
- The topic ‘[Plugin: Events Manager] Call to a member function get() on a non-object in query.php on line 27’ is closed to new replies.