500 Error
-
I’d love to use this, I used it before on an apache based lightsail installation however we’ve now moved to wordops / nginx to serve the site.
The moment I click “create distribution” every page on my site starts to 500 error, this seems to be a PHP issue as pages in the fastcgi cache still display until that cache is cleared. I’m running PHP 7.4 if that matters.
Literally every page 500 errors, front end and back end, log shows the below error, the distribution is actually created if I check the AWS admin it just breaks the site too.For now I’ve restored a backup but would love to get things working.
Uncaught Error: Call to undefined function nocache_headers() in /var/www/sagana.com/htdocs/wp-admin/admin.php:36 Stack trace: #0 /var/www/sagana.com/htdocs/wp-admin/index.php(10): require_once() #1 {main} thrown in /var/www/sagana.com/htdocs/wp-admin/admin.php on line 36" while reading response header from upstream, client: 45.133.172.222, server: sagana.com, request: "GET /wp-admin/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php74-two-fpm.sock:", host: "sagana.com" 2023/06/16 12:06:43 [error] 827#827: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /var/www/sagana.com/htdocs/wp-admin/admin.php:36 Stack trace: #0 /var/www/sagana.com/htdocs/wp-admin/index.php(10): require_once() #1 {main} thrown in /var/www/sagana.com/htdocs/wp-admin/admin.php on line 36" while reading response header from upstream, client: 45.133.172.222, server: sagana.com, request: "GET /wp-admin/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php74-fpm.sock:", host: "sagana.com"
The page I need help with: [log in to see the link]
- The topic ‘500 Error’ is closed to new replies.