Upgrade from an old version of Anspress
I have an WP site that at some point had Anspress installed. Not sure if this was 2 or 3 version. Almost empty from Questions.
Updating to Anspress 4, i saw that fatal error. MAYBE it helps to debug the conversion from old to vs4.
[08-Mar-2017 15:39:36 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_queried_object() on null in /home/wp-includes/query.php:45
#0 /home/wp-content/plugins/anspress-question-answer/includes/functions.php(146): get_queried_object()
#1 /home/wp-content/plugins/anspress-question-answer/includes/functions.php(169): is_anspress()
#2 /home/wp-content/plugins/anspress-question-answer/includes/views.php(40): is_question()
#3 /home/wp-includes/class-wp-hook.php(298): AnsPress_Views::insert_views(”)
#4 /home/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#5 /home/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /home/wp-includes/load.php(677): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
thrown in /home/wp-includes/query.php on line 45