• Anyone has experienced or solved such an error:

    04-Mar-2020 17:50:02 UTC] PHP Fatal error: require(): Failed opening required ‘ABSPATHwp-includes/load.php’ (include_path=’.:/opt/cpanel/ea-php72/root/usr/share/pear’) in /home/designbu/public_html/wp-settings.php on line 19

    It came out over night, i imagine after some automatic update….

    I saw a past thread about contacting the host but it seems all good from their side…Help!

    <?php
    /**
    * Used to set up and fix common variables and include
    * the WordPress procedural and class library.
    *
    * Allows for some configuration in wp-config.php (see default-constants.php)
    *
    * @package WordPress
    */

    /**
    * 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 . ‘/class-wp-paused-extensions-storage.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-fatal-error-handler.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-cookie-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-key-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-link-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode-email-service.php’ );
    require( ABSPATH . WPINC . ‘/class-wp-recovery-mode.php’ );
    require( ABSPATH . WPINC . ‘/error-protection.php’ );
    require( ABSPATH . WPINC . ‘/default-constants.php’ );
    require_once( ABSPATH . WPINC . ‘/plugin.php’ );

    • This topic was modified 6 years, 3 months ago by jacopo123.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    1. What do the lines in wp-config.php regarding ABSPATH look like? It *should be*

    /* That's all, stop editing! Happy publishing. */
    
    /** Absolute path to the WordPress directory. */
    if ( ! defined( 'ABSPATH' ) ) {
            define( 'ABSPATH', dirname( __FILE__ ) . '/' );
    }
    
    /** Sets up WordPress vars and included files. */
    require_once( ABSPATH . 'wp-settings.php' );
    

    2. Is wp-load.php in the wp-includes directory? If not, let’s do a manual update of WordPress: https://ww.wp.xz.cn/support/article/updating-wordpress/#manual-update

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Update: Looking at http://designbureau.ge/, I see an index of files. Your site is, at the very least, missing “index.php” in the site root. Do the manual update, as noted above.

    Thread Starter jacopo123

    (@jacopo123)

    Hi Steve and thanks for the help

    1. the file wp-config-sample.php has those lines
    2. wp-load.php is in the public_html folder (same as the wp-config-sample.php), but not is the wp-includes directory

    Will do the manual update as suggested

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Sorry, I meant “load.php” and not “wp-load.php”. I’m still on my first cup of coffee of the day. 🙂

    Thread Starter jacopo123

    (@jacopo123)

    eheh no problem and YES, load.php is in there.

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

The topic ‘PHP Fatal error (regarding ABSPATH)’ is closed to new replies.