• I’ve recently changed my hosting from hostgator to 000webshost. I’ve backed up and uploaded all the files to folder “public_html”.

    The site loaded fine initially. One week later, I saw this error message:

    Warning: require(/storage/h4/510/852510/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /storage/h4/510/852510/public_html/wp-settings.php on line 21

    Fatal error: require(): Failed opening required ‘/storage/h4/510/852510/public_html/wp-includes/load.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /storage/h4/510/852510/public_html/wp-settings.php on line 21

    What file is missing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter leelingy

    (@leelingy)

    Below are the first 24 lines in the wpsetting.php file. Line 21 says require( ABSPATH . WPINC . ‘/load.php’ ). I don’t see the load.php file in the folder? How can I generate one? Thanke.

    ——————————

    Stores the location of the WordPress directory of functions, classes, and core content.
    *
    * @since 1.0.0
    */
    define( ‘WPINC’, ‘wp-includes’ );

    // Include files required for initialization.
    require( ABSPATH . WPINC . ‘/load.php’ );
    require( ABSPATH . WPINC . ‘/default-constants.php’ );
    require( ABSPATH . WPINC . ‘/plugin.php’ );

    Moderator t-p

    (@t-p)

    – Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
    – If that does not help, try switching to the unedited default Theme (Twenty Sixteen.) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme (Twenty Sixteen.). That will force your site to use it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP fatal error: Wp settings’ is closed to new replies.