• Resolved pgb

    (@pgb)


    After the last WP update, there is a white screen instead of the website. I have disabled all the plugins but there is still a white screen – it is not the plugins.
    My hosting tells me there is a message
    [01-Jan-2020 08:31:25 UTC] PHP Fatal error: require(): Failed opening required ‘ABSPATHwp-includes/version.php’ (include_path=’.:/opt/alt/php73/usr/share/pear’) in /home/hlyqhoyp/public_html/wp-settings.php on line 24

    Does anyone know how I can fix this?

    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • verify your wp-config.php file do not copy the content in this forum or elsewhere but use google search for the ABSPATH constant before require_once wp-settings.php.
    Example https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php#L90

    Thread Starter pgb

    (@pgb)

    Thank you, I’m not sure what that means what that means. Could you clarify please?

    Make a backup of your wp-config.php and make sure that the wp-config.php is not corrupt, because the ABSPATH constant is defined in that context.

    /** 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' );

    It would be nice if your hosting does it for you.

    Thread Starter pgb

    (@pgb)

    Thank you for your replies, my hosting fixed it for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘white screen after WP update’ is closed to new replies.