Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The debug set in the Ingress is always true (WPN-358) #40

Open
ponsfrilus opened this issue Mar 20, 2025 · 0 comments
Open

The debug set in the Ingress is always true (WPN-358) #40

ponsfrilus opened this issue Mar 20, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ponsfrilus
Copy link
Member

ponsfrilus commented Mar 20, 2025

As it's hard coded in the operator:

fastcgi_param WP_DEBUG true;

So all sites have the WP_DEBUG set to true whatever is defined in the Kubernetes object.

When changed to false in the corresponding Ingress, the site has 500 errors on

Note that this is not (yet) reproducible in the dev environment.

Here the error:

2025/03/20 15:47:34 [error] 45#45: *73470 FastCGI sent in stderr: 
"PHP message: Utils.php file not found at: /wp/6.7.2/wp-content/plugins/wp-gutenberg-epfl/lib/utils.php" 
while reading response header from upstream, client: 10.20.52.6, server: site.epfl.ch, 
request: "GET /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=hoverIntent,wp-dom-ready,wp-hooks
&ver=6.7.2 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", 
host: "site.epfl.ch", 
referrer: "https://site.epfl.ch/wp-admin/plugins.php"
@ponsfrilus ponsfrilus self-assigned this Mar 20, 2025
@ponsfrilus ponsfrilus changed the title The debug in the ingress is always true The debug in the ingress is always true (WPN-358) Mar 20, 2025
@ponsfrilus ponsfrilus changed the title The debug in the ingress is always true (WPN-358) The debug set in the Ingress is always true (WPN-358) Mar 20, 2025
@ponsfrilus ponsfrilus added the bug Something isn't working label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant