Support » Fixing WordPress » WordPress not loading. Critial error ocured on your website

  • Good day i found this error when i turn debugging on and couldn’t fix it


    Warning: require(/home/u393771464/domains/mbongeyainternship.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php): failed to open stream: No such file or directory in /home/u393771464/domains/mbongeyainternship.com/public_html/wp-settings.php on line 256

    Warning: require(/home/u393771464/domains/mbongeyainternship.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php): failed to open stream: No such file or directory in /home/u393771464/domains/mbongeyainternship.com/public_html/wp-settings.php on line 256

    Fatal error: require(): Failed opening required ‘/home/u393771464/domains/mbongeyainternship.com/public_html/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/u393771464/domains/mbongeyainternship.com/public_html/wp-settings.php on line 256

    There has been a critical error on your website.

    Learn more about debugging in WordPress.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try this method

    – Try MANUALLY updating/re-loading WP. Download a fresh copy of the WordPress .zip file to your computer, unzip it, and use that to copy up all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory. You may need to delete the old wp-admin and wp-includes folders and files on your server before uploading the new ones. Please read the Manual Update directions first.
    – Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!

    Kamlesh Patel

    (@deepujpharmamachinery)

    Go To > wp-config.php file
    and enter make WP_DEBUT true

    define( ‘WP_DEBUG’, true );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress not loading. Critial error ocured on your website’ is closed to new replies.