• Hi! I have many PHP warnings in nginx error.log:

    2022/02/10 12:49:42 [error] 2769817#2769817: *1150456 FastCGI sent in stderr: “PHP message: PHP Warning: First parameter must either be an object or the name of an existing class in /wp-content/themes/kadence/template-parts/content/archive_header.php on line 13” while reading response header from upstream

    Latest WP, PHP 7.4

Viewing 1 replies (of 1 total)
  • Hey,
    I can’t recreate this, get_queried_object is called and is the object used. can you see what page is being viewed when this warning message happens?

    Ben

Viewing 1 replies (of 1 total)
  • The topic ‘PHP message: PHP Warning in archive_header.php on line 13’ is closed to new replies.