• Hi there, I have the below error when trying to view my website and also while trying to log into my wordpress dashboard. Any suggestions on how to rectify this error?

    Fatal error: Uncaught Error: Undefined constant “WPINC” in /home/w3675436/public_html/wp-blog-header.php:19 Stack trace: #0 /home/w3675436/public_html/index.php(17): require() #1 {main} thrown in /home/w3675436/public_html/wp-blog-header.php on line 19

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    Do you have server access? If so, could you try turning WP_DEBUG on? That might give you more info on what’s going on with the website.

    You might have installed an incompatible plugin, or updated something which caused the issue.

    Moderator bcworkz

    (@bcworkz)

    There’s something fundamentally wrong with your installation. WPINC by default is defined in wp-load.php, which wp-blog-header.php (where the error occurs) requires just before using WPINC. Either wp-load.php is inaccessible or has been corrupted in order to get such an error.

    Via FTP or your hosting file manager, ensure the wp-load.php exists in your WP installation folder and that its permissions and owner are correct. Permissions and owner should be the same as for wp-blog-header.php which are apparently correct or you would not see this error message.

    If that checks out, the file itself has likely become corrupted. This could mean other files are corrupted as well. In this situation I recommend that you perform a manual update, even if it’s to the same version. The point is to refresh all the files from a fresh download. Do not use Reinstall button on the updates admin page, it doesn’t necessarily refresh all necessary files in its process like a manual update would do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.