Title: PHP Error WP_REST_Posts_Controller
Last modified: June 7, 2021

---

# PHP Error WP_REST_Posts_Controller

 *  Resolved [alexmuss](https://wordpress.org/support/users/alexmuss/)
 * (@alexmuss)
 * [5 years ago](https://wordpress.org/support/topic/php-error-wp_rest_posts_controller/)
 * Dear Support Community,
 * Unfortunately, my website crashed and I no longer can access my WordPress installation.
   I am having trouble understanding the error and would be thankful for some insight
   on how to fix this.
 * I assume that there might have been a problem with the available storage. I have
   upgraded my hosting so that there is enough space available now and also changed
   the names of the plugins in the plugin folder. Unfortunately, this did not help.
 * Here’s the error message:
 * 2021 08:17:01 mwk-architekten.de [client 13.66.11.0] AH01215: PHP Fatal error:
   Uncaught Error: Class ‘WP_REST_Posts_Controller’ not found in /mnt/web324/a1/
   26/5241226/htdocs/WordPress_01/wp-includes/rest-api/endpoints/class-wp-rest-attachments-
   controller.php:17: /home/strato/http/power/rid/12/26/5241226/htdocs/WordPress_01/
   index.php
 * Thank you for your help
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years ago](https://wordpress.org/support/topic/php-error-wp_rest_posts_controller/#post-14529804)
 * The error indicates a file that is part of WordPress is missing.
    You can do 
   a manual extraction on the server of the WordPress zip file to make sure all 
   files are present. [https://wordpress.org/support/article/updating-wordpress/#manual-update](https://wordpress.org/support/article/updating-wordpress/#manual-update)
   Be careful not to remove your wp-content folder (which holds your images, themes,
   plugins).
 *  Thread Starter [alexmuss](https://wordpress.org/support/users/alexmuss/)
 * (@alexmuss)
 * [5 years ago](https://wordpress.org/support/topic/php-error-wp_rest_posts_controller/#post-14532811)
 * Thanks, Joy!
 * That solved my issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Error WP_REST_Posts_Controller’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [alexmuss](https://wordpress.org/support/users/alexmuss/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/php-error-wp_rest_posts_controller/#post-14532811)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
