• Please help. I upgraded today from 2.3 to 2.5.1 and now I get these message when I try to go to my blog

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

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

    Warning: Cannot modify header information – headers already sent by (output started at /home/guhhfbqk/public_html/wp-includes/widgets.php:676) in /home/guhhfbqk/public_html/wp-includes/pluggable.php on line 694

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter lpantos

    (@lpantos)

    yes, that answered it. I just needed to basically open the widgets.php and click on save changes and it works.

    Edited – it did not work. It allows me to see my blog and the errors are above the header -but I can’t get into the admin section.

    Link to see the error, please.

    Thread Starter lpantos

    (@lpantos)

    What about ‘removing’ the Widgets, especially the Text widgets. Saving the changes, then viewing your site.

    Then recreate the Text Widgets.

    If that doesn’t fix did you try Otto’s suggestion?

    Worst case, manually edit your database, find the widget_text row in wp_options, and remove it.

    Thread Starter lpantos

    (@lpantos)

    how do I remove the widgets – ?
    Thanks.

    Oh, and I guess there’s the possibility you didn’t get a completely intact set of 2.5.1 files uploaded–in that case, review Steps 7 and 8 in Upgrading_WordPress_Extended.

    To remove widget, click on Edit, then the Remove button will be revealed.

    I receive the following on upgrading manually from 2.3 to 2.5:

    Fatal error: Call to undefined function require_wp_db() in C:\Inetpub\vhosts\jdshipley.com\httpdocs\wp-settings.php on line 206

    Does the database name belong inside the parens?

    Jack

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Does the database name belong inside the parens?

    No, but you do have to upload ALL of the WordPress files. Including the ones in wp-admin and wp-includes.

    Thread Starter lpantos

    (@lpantos)

    I can’t get into the admin panel so I can’t click on ‘edit’ to remove anything…………

    Then you’ll need to try Otto’s suggestion of removing the records in wp_options.

    If that fails, try deleting and reuploading the WordPress files as detailed in Steps 7 and 8 of Upgrading WordPress Extended.

    Hey Otto, how do you get your friends blog onto the category of friends. I would put them under “blog roll” like your site but the template i used already came with the category “friends”.

    I have this same problem – Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/yourmus1/public_html/wp-includes/widgets.php on line 654

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

    at https://www.yourmusicsucks.com

    I can’t get to the admin panel of wordpress either, I am completely new to this so I am wondering what exactly do I need to change in the files, how exactly you go go about that, and if I am upgrading myself according to the instructions how to do that since it was installed through Bluehost’s Fantastico Deluxe, sorry I am not all that saavy about these things yet, so I apologize, I have been trying to understand this.

    My thanks for the above suggestion from Michael H.

    I had the same problem with 2.7. Followed his directions using phpAdmin on bluehost to correct the problem.

    Although it occurred on line 1044, it was same error message for wp-includes/widgets.php. The error occurred after I tried to create a second text box in the second sidebar on a Sandpress themed blog. The text box included an inline statement.

    I wanted to add a Google Blog Bar, but managed to bork my blog instead. Will wait for some clever widget maker, eh?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Upgrade to 2.5.1 – get error messages’ is closed to new replies.