500 Error due to call to wp() from wp-blog-header.php


I am trying to get WordPress running for the first time (because it is part of the AWS
training I’m doing) and am stuck. wp-blog-header.php calls wp(), which fails because the function is not defined. Grepping the directory does not show it as being defined anywhere. There is no ?> at the end of that file, so I thought that maybe it had been truncated, but the original on Github looks the same. A similar question was posted a couple of years ago on the WP support forum and the issue was that wp-config.php had been blanked, but that is not the case here.

The link above is to an EC2 instance.

The page I need help with: [log in to see the link]



Source link