Uncaught Error: get_queried_object()
-
Once activated, the site turn to white page error. Here’s my debug.log
Could you please help me figure it out ?
********************************
[08-Sep-2020 23:28:27 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_queried_object() on null in … /wp-includes/query.php:44
Stack trace:
#0 … /wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php(2607): get_queried_object()#1 … /wp-content/plugins/advanced-custom-fields-pro/includes/api/api-template.php(23): acf_get_valid_post_id(0)
#2 … /wp-content/plugins/code-snippets/php/snippet-ops.php(446) : eval()’d code(1): get_field(‘tour_rating’)
#3 … /wp-content/plugins/code-snippets/php/snippet-ops.php(446): eval()
#4 … /wp-content/plugins/code-snippets/php/snippet-ops.php(534): execute_snippet(‘$rating = get_f…’, 6)
#5 … /wp-includes/class-wp-hoo in … /wp-includes/query.php on line 44
**********************************
The topic ‘Uncaught Error: get_queried_object()’ is closed to new replies.