• Don’t know how to deal with error. Haven’t encountered this issue. Happens after I install WP.

    Fatal error: require(): Failed opening required ‘/homepages/24/d171570798/htdocs/wp-blog-header.php’ (include_path=’.:/usr/lib/php7.4′) in /homepages/24/d171570798/htdocs/index.php on line 17

    I have tried erasing and uploading a fresh copy, since that seemed to work with similar posts I found, but it does the same thing.
    Not sure if this is aWordpress error or I need to contact my web host for help.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello, what is the PHP version on your server? Also, what’s in your wp-blog-header.php file?

    You could try upgrading your PHP and reinstalling WordPress.

    Thread Starter sheala.bacon

    (@shealabacon)

    the PHP 7.4

    in the wp-blog-header file:

    <?php
    /**
     * Loads the WordPress environment and template.
     *
     * @package WordPress
     */
    
    if ( ! isset( $wp_did_header ) ) {
    
    	$wp_did_header = true;
    
    	// Load the WordPress library.
    	require_once __DIR__ . '/wp-load.php';
    
    	// Set up the WordPress query.
    	wp();
    
    	// Load the theme template.
    	require_once ABSPATH . WPINC . '/template-loader.php';
    
    }

    I’ll try the upgrade rn.

    Thread Starter sheala.bacon

    (@shealabacon)

    php updates to 8.0 and 8.1 result in the same error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error after install’ is closed to new replies.