• brinixpro

    (@brinixpro)


    Here is the full error

    Warning: require(/home/panewaxb/public_html/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php): Failed to open stream: No such file or directory in /home/panewaxb/public_html/wp-settings.php on line 293

    Fatal error: Uncaught Error: Failed opening required ‘/home/panewaxb/public_html/wp-includes/rest-api/endpoints/class-wp-rest-post-statuses-controller.php’ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/panewaxb/public_html/wp-settings.php:293 Stack trace: #0 /home/panewaxb/public_html/wp-config.php(98): require_once() #1 /home/panewaxb/public_html/wp-load.php(50): require_once(‘/home/panewaxb/…’) #2 /home/panewaxb/public_html/wp-blog-header.php(13): require_once(‘/home/panewaxb/…’) #3 /home/panewaxb/public_html/index.php(18): require(‘/home/panewaxb/…’) #4 {main} thrown in /home/panewaxb/public_html/wp-settings.php on line 293

    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Subrata Debnath

    (@subrata-deb-nath)

    Hi @brinixpro,

    Reinstall WordPress Core Files

    If other files are missing or corrupted, consider reinstalling WordPress core files:

    • Backup your website (both files and database).
    • Replace the wp-includes and wp-admin folders with the ones from the fresh WordPress package.
      Do not overwrite the wp-content folder or wp-config.php file.
    Thread Starter brinixpro

    (@brinixpro)

    I tried but messed up a few steps. finally i just restored the website to an early date. thanks alot

    limiraweb

    (@mirkocoppola80)

    As mentioned above, it seems to be a core file that is missing or is called with the wrong path, so i think you have to replace core folders wp-includes and wp-admin.

    mayuripatel

    (@mayuripatel)

    Hello @brinixpro

    class-wp-rest-post-statuses-controller.php is missing or cannot be found

    Follow below steps :

    1. Re-upload the Missing File : download a fresh version of WordPress latest version ZIP from wordpress.org , extract the file , and then uploading the missing file to your server in the directory /wp-includes/rest-api/endpoints/
    2. Reinstall WordPress : take backup of your project , you can re-upload the entire WordPress core files via FTP . first upload all root files , then replace wp-admin , wp-include core folders and in wp-content folder upload your theme and plugins folder from backup .
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.