• Resolved micasuh

    (@micasuh)


    I just upgraded from 2.0.2 to 2.0.4. Once I logged into the admin panel, There are a few errors at the top of the panel! They are the following:

    Warning: First argument to array_keys() should be an array in /home/virtual/site70/fst/var/www/html/wp/wp-admin/admin-functions.php on line 1322

    Warning: Invalid argument supplied for foreach() in /home/virtual/site70/fst/var/www/html/wp/wp-admin/admin-functions.php on line 1322

    Warning: Invalid argument supplied for foreach() in /home/virtual/site70/fst/var/www/html/wp/wp-admin/menu.php on line 8

    I deactivated all my plugins, followed the instructions to a tee.

    Someone, please help me!! My page isn’t looking right!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter micasuh

    (@micasuh)

    Ah, I found my answer with a little searching! All I did was reupload the admin folder. I guess some files, upon upload, were corrupted. So, here’s the solution for anyone’s future reference!

    yes, its covered several times already, amazing how helpful that search can be 🙂

    http://wordpress.org/support/topic/81539?replies=6

    I’m having the same “Invalid argument supplied for foreach()” error pop up, but only when I use my Travelogue theme. It’s not there when I use the default or classic themes.

    My specific error is this:

    Warning: Invalid argument supplied for foreach() in /home2/tfleming/tonyfleming-www/wordpress/wp-admin/upgrade-functions.php on line 879

    879 foreach($indices as $index) {
    880 // Push a query line into $cqueries that adds the index to that table
    881 $cqueries[] = “ALTER TABLE {$table} ADD $index”;
    882 $for_update[$table.’.’.$fieldname] = ‘Added index ‘.$table.’ ‘.$index;
    883 }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘My WordPress upgrade is corrupted! How do I recover?’ is closed to new replies.