Forums

invalid argument error with upgrade from 2.2 to 2.6 (2 posts)

  1. webmastery
    Member
    Posted 3 years ago #

    Hi,

    I've trying to upgrade from 2.2 to 2.6.

    The following error appears at the top of the 2.6 blog (though it displays OK):

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

    Warning: Invalid argument supplied for foreach() in /home/serverusername/public_html/blog/wp-includes/widgets.php on line 686

    I can't login to the administration panel. The error message appears as well.

    I tried to do a clean install (if possible). Not only the same error message appears, it also says, "You appear to have already installed WordPress. To reinstall please clear your old database tables first."

    I even backup and delete the blog database to see what happens, it still says I have to clear my old database tables + the array key invalid argument. Very persistent error.

    Please help to advise. Thank you.

    best regards,
    Nelson

  2. KDM
    Member
    Posted 3 years ago #

    i get the exact same problem nelson initially got. The page is viewable but has warnings on the top. when i try to login i can't and am only greeted by warnings similar to the ones nelson got.
    I have tried deleting everything, installing it again, database upgrade works fine but with warnings of course.
    I must admit i forgot to switch plugins and widgets of before i started the whole adventure... i also may have to admit... that i forgot to make a backup... it was late, i was tired...
    is there anyway i might switch widgets of now so i can logon to the site.
    would appreciate some help

Topic Closed

This topic has been closed to new replies.

About this Topic