Support » Plugin: Migrate Guru: Migrate & Clone WordPress Free » ‘Failed to Open Stream’ Error Message

  • Resolved lkslack

    (@lkslack)


    I recently tried to update WP core on a site that completely broke. Luckily, I had a backup and uninstalled/re-installed WP on the current server. When I went to migrate the staging site on Flywheel to the freshly installed CPanel, I received an error:

    `Warning: require(__DIR__/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home1/wiregras/public_html/index.php on line 17

    Warning: require(__DIR__/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home1/wiregras/public_html/index.php on line 17

    Warning: require(__DIR__/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home1/wiregras/public_html/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘__DIR__/wp-blog-header.php’ (include_path=’.:/opt/php52/lib/php’) in /home1/wiregras/public_html/index.php on line 17`

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amanbv

    (@amanbv)

    Hey!

    Thank you for reaching out to us.

    This error means that the wp-blog-header.php file is missing in the root of your website. This is a core WordPress file & needs to be present on the website.

    You can fix this by downloading the same version of WordPress as your website & copying the wp-blog-header.php file into your website’s root directory.

    Thank you,
    Aman Kedia

    Thread Starter lkslack

    (@lkslack)

    Thank you! I wish I would have received this earlier instead of spending 10 hours on a restore/rebuild. Now I know for next time…I think something also happened when migrating from WPEngine > CPanel > Flywheel > back to CPanel.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.