[Thu Aug 16 15:34:21 2018] [error] [client 46.19.40.10] PHP Fatal error: Call to a member function get() on null in /wp-includes/query.php on line 28
-
This reply was modified 6 years, 1 month ago by temirerd.
26. function get_query_var( $var, $default = ” ) {
27. global $wp_query;
28. return $wp_query->get( $var, $default );
20. }
Will you ask your host if they can get a full stack trace on that error? I cannot tell the cause for the error as given above.
Fatal error: Uncaught Error: Call to a member function get() on null in C:\OSPanel\domains\cosmo.loc\wp-includes\query.php:28 Stack trace: #0 C:\OSPanel\domains\cosmo.loc\wp-content\plugins\yandexnews-feed-by-teplitsa\inc\tst-yandex-feed-core.php(118): get_query_var(‘yandex_feed’) #1 C:\OSPanel\domains\cosmo.loc\wp-includes\class-wp-hook.php(288): La_Yandex_Feed_Core->set_empty_feed_20ok_status(‘HTTP/1.1 301 Mo…’, 301) #2 C:\OSPanel\domains\cosmo.loc\wp-includes\plugin.php(203): WP_Hook->apply_filters(‘HTTP/1.1 301 Mo…’, Array) #3 C:\OSPanel\domains\cosmo.loc\wp-includes\functions.php(1089): apply_filters(‘status_header’, ‘HTTP/1.1 301 Mo…’, 301, ‘Moved Permanent…’, ‘HTTP/1.1’) #4 C:\OSPanel\domains\cosmo.loc\wp-includes\pluggable.php(1217): status_header(301) #5 C:\OSPanel\domains\cosmo.loc\wp-content\plugins\pretty-link\app\models\PrliUtils.php(389): wp_redirect(‘http://cosmo.lo…’, 301) #6 C:\OSPanel\domains\cosmo.loc\wp-content\plugins\pretty-link\app\controllers\PrliAppController.php(325): PrliUtils->track_l in C:\OSPanel\domains\cosmo.loc\wp-includes\query.php on line 28
This is because of the plugin “Yandex.News Feed by Greenhouse” can you do something like that so that they are compatible?
I put a clean wordpress and 2 plugins “Yandex.News Feed by Teplitsa” and yours. And your plagin stops working, namely short links give 500 error. The developers of the plugin “Yandex.News Feed by Teplitsa” say that I wrote to the developers of the plugin “Pretty Links”