One site has suddenly an error 500 and can't be accessed from front or back. From the err log:
2021/03/21 11:09:17 [error] 23585#23585: *54 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /var/www/site.tld/htdocs/wp-blog-header.php:16
Stack trace:
#0 /var/www/site.tld/htdocs/index.php(17): require()
#1 {main}
thrown in /var/www/site.tld/htdocs/wp-blog-header.php on line 16", client: 163.218.207.59, server: site.tld, request: "GET / HTTP/1.1", host: "site.tld"
wp-blog-header.php is same as others.
When I switch CF SSl to "flexible" I get the warm "Welcome to nginx" page.
What could that error be?
One more error, I presime from wp-login:
2021/03/21 13:41:14 [error] 28176#28176: *557 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp() in /var/www/site.tld/htdocs/wp-blog-header.php:16
Stack trace:
#0 /var/www/site.tld/htdocs/index.php(17): require()
#1 {main}
thrown in /var/www/site.tld/htdocs/wp-blog-header.php on line 16" while reading response header from upstream, client: 163.218.207.59, server: site.tld, request: "GET / HTTP/2.0", subrequest: "/index.php", upstream: "fastcgi://unix:/var/run/php/php74-fpm.sock:", host: "site.tld"