• Got some issues, after i updated wordpress. Everything went fine till this came out after a minute:

    Warning: require(/htdocs/wp-includes/post.php): failed to open stream: Permission denied in /htdocs/wp-settings.php on line 178

    Fatal error: require(): Failed opening required ‘/htdocs/wp-includes/post.php’ (include_path=’.:/usr/lib/php7.3′) in /htdocs/wp-settings.php on line 178

    The only thing i did was deleting a plugin that doesnt fit with php 7.3. on my ftp.

Viewing 1 replies (of 1 total)
  • Hi,

    The error you are getting either could mean two different things. First, the file wp-includes/post.php does not currently exist. Have you checked if the file is still there? Did the update possibly fail part of the way through? That could cause this to happen. Secondly, permissions on your site are preventing WordPress from loading that file. More than likely its the first issue because WordPress before attempting to include that file includes many others from the wp-includes directory.

    So please check to see if that file still exists. If for some reason it does not exist download the corresponding WordPress version from here that matches with the WordPress version of your site. Then pull the wp-includes/post.php file from the zip you just downloaded and place it in the wp-includes folder for the site in question.

    If the file does indeed exist for your site then that means the permissions/ownership of the file has been changed. You will need to contact your host about this and show them the error. They should be able to adjust the permissions for this file to allow WordPress to access it again.

    If you have any questions about this please feel free to ask.

    Thanks!

    Josh

Viewing 1 replies (of 1 total)

The topic ‘failed to open stream – Problem’ is closed to new replies.