• Resolved billnanson

    (@billnanson)


    I already updated my web installation to 2.5 without hitches, but for home (offline) using Xampplite (1.60.6) on a USB drive, everything falls over now I moved from 2.2.2 to 2.5. At https://localhost/wordpress/wp-login.php I get the following messages above the login boxes:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in H:\xampplite\htdocs\wordpress\wp-includes\widgets.php on line 654

    Warning: Invalid argument supplied for foreach() in H:\xampplite\htdocs\wordpress\wp-includes\widgets.php on line 654

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-login.php on line 202

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-login.php on line 214

    Going through the upgrade route for the db I still have the above error messages at the login screen – continuing the login process yields only the following messages:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in H:\xampplite\htdocs\wordpress\wp-includes\widgets.php on line 654

    Warning: Invalid argument supplied for foreach() in H:\xampplite\htdocs\wordpress\wp-includes\widgets.php on line 654

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-login.php on line 202

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-login.php on line 214

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-includes\pluggable.php on line 552

    Warning: Cannot modify header information – headers already sent by (output started at H:\xampplite\htdocs\wordpress\wp-includes\widgets.php:654) in H:\xampplite\htdocs\wordpress\wp-includes\pluggable.php on line 689

    Anyone spot something really stoopid that I’m doing?
    Thanks, Bill

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Edit your PHP.INI file to have this:
    display_errors = Off

    That will temporarily disable the warning messages. Then you should be able to login and such.

    This particular error appears to be caused by an incompatibility between older and newer versions of the text widget. Once you login, go to the widgets screen, fix and save the sidebar widgets (all of them), and that should correct it. Then you can reedit the PHP.INI to enable warnings again.

    Thread Starter billnanson

    (@billnanson)

    Thanks for looking Otto.

    Your tip worked, but I’m at a loss what to do in the in terms of “fixing” the sidbar widgets, as most of the themes I play with have no sidebar defined. I’ve switched to the latest sandbox and switched all available widgets to ‘add’. This clearly is not the solution as returning the php.ini file to default brings back the error messages…

    Thanks for yoour suggestions
    Cheers, Bill

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Hmmm.. Okay remove all the widgets again, no need for all that. The problem is specifically in the text widget. Perhaps add a text widget to some sidebar and save it and such?

    Another way: Take a look in your database manually. Look in the options table. Find the option row with a key of ‘widget_text’. If you find it, remove the row. There may be more than one.

    That should fix the issue. I think. Obviously, backup the database first. ??

    Thread Starter billnanson

    (@billnanson)

    Thanks for persevering Otto. Fixed.

    (By deleting ‘widget_text’ in the db – there was only 1 reference)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Xampplite and 2.5’ is closed to new replies.