On fresh install of WordPress and using a new theme, query vars added to the URL result in a blank page with an empty tag. The theme is nothing but boilerplate html, a function add_query_vars() and a get_query_var() in the body tag
Troubleshooting Questions
I have uploaded the same theme to a subdomain of my website and it works as expected. In Local the site works and my dummy content shows up. If I add a dummy function in functions.php to get it to echo something, that works. Debugging is on in wp-config and the .htaccess files are identical.
I’m running Local of the latest version of Linux Zorin OS. Result is the same on PHP 8.0.22 and 7.4.30. The hosted site is running PHP 8.0.
Results are the same between Apache and nginx.
The local-lightning.log is not producing any new errors when I refresh the page