Inlining CSS Causes Homepage Header to Return 500, but Page Loads Fine
-
Today I noticed that Google isn’t seeing my homepage because the page returns a 500 error, even though it loads completely fine to visitors. After a bunch of debugging, I found Critical CSS to be the culprit, and I was able to repeat the issue with “Inline all CSS”. Here are the strange behaviors:
- The issue is only on my assigned homepage. If I change my homepage to a blank page, the error is now on that page and no longer on the original homepage.
- The issue goes away when I disable “Inline and defer”/”Inline all CSS”.
- The issue does not go away when I switch to a default WordPress theme. theme.
- The issue does not go away when I disable all other plugins.
- The issue does not go away when I remove all code under “Customize” > “Additional CSS”.
Does AO add anything to the homepage when inlining CSS that could cause a 500 error? Any idea what could be causing the bug?
I will likely keep the bug live tonight while I continue troubleshooting but will have to disable inline CSS by tomorrow.
Thank you.
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Inlining CSS Causes Homepage Header to Return 500, but Page Loads Fine’ is closed to new replies.