WordPress Update Crashed, now blog is broken (7 posts)

  1. juleslov
    Posted 3 years ago #

    I tried to update the wordpress software to 3.2.1 from the site and it crashed mid-way.
    Now when I try to access the site it reads:

    Warning: require(/home/celadonc/public_html/blog/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/celadonc/public_html/blog/wp-settings.php on line 21

    Fatal error: require() [function.require]: Failed opening required '/home/celadonc/public_html/blog/wp-includes/load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/celadonc/public_html/blog/wp-settings.php on line 21

    Can someone please help and assist?


  2. graphical_force
    Posted 3 years ago #

    Did you backup your site before you updated?

  3. Sugar Apple
    Posted 3 years ago #

    re-upload wp-includes/load.php

    wp-settings.php on line 21 is
    require( ABSPATH . WPINC . '/load.php' );

  4. Peter Butler
    Posted 3 years ago #

    You're probably going to need to reinstall WordPress via FTP. In my experience, this often happens when your server runs out of space during the upgrade process.

    The fact is, that particular file probably isn't the only one missing.

    If you didn't back up beforehand, now would be a good time to at least download your wp-content folder to your desktop, as that's where all your plugins, themes, and uploads are.

  5. juleslov
    Posted 3 years ago #

    Hey thanks everyone
    I backed up the site, and I did the following...
    1) I downloaded WordPress 3.2.1 (the files)
    2) I put the wp-content folder back on the FTP
    3) I put the remaining WordPress 3.2.1 files onto the FTP (not the empty wp-content) and I let WordPress update the Database

    The blog is now blank http://www.celadoncelery.com/blog

    When I go into the Dashboard all the content is there, but the themes are messed up and read this ont he top of the panel:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/celadonc/public_html/blog/wp-includes/theme.php on line 521

    Warning: uksort() [function.uksort]: The argument should be an array in /home/celadonc/public_html/blog/wp-admin/includes/class-wp-themes-list-table.php on line 48

    Warning: array_slice() expects parameter 1 to be array, boolean given in /home/celadonc/public_html/blog/wp-admin/includes/class-wp-themes-list-table.php on line 55

    What next?

    Thanks WP community you guys are SO helpful!!

  6. Peter Butler
    Posted 3 years ago #

    I want to say you get the "array_keys()" error from "theme.php" when wordpress can't find any themes in your themes folder. Can you double check that there are themes in wp-content/themes?

  7. iveph
    Posted 3 years ago #

    Hi, I am having the same problem as juleslov. Actually my two blogs under different domain names in the same hosting server developed this problem. As Peter said, the wordpress just can not see any themes or plugins in the wp-content/themes or wp-content/plugins directory, even though they are there. How does this happen? I have changed the permission for the directories from 755 to 777 then to 755 again with no effect at all?

    juleslov, did you manage to solve the problem?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.