[wp-testers] Warnings on a fresh install... is there a problem...

ProDevStudio prodevstudio at gmail.com
Fri Mar 13 17:34:48 GMT 2009


Hi All,

Today I have got a svn-trunk version and just installed it. Install went
well, but I am seeing bunch of warnings on top of every page.

NO Plugins or No Theme -- just the svn trunk version of wordpress.... fresh
from trunk on (Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18
PHP/5.2.0-8+etch13 mod_ruby/1.2.6 Ruby/1.8.5(2006-08-25) mod_ssl/2.2.3
OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8)

Warnings..:

*********************************
Warning: array_keys() [function.array-keys]: The first argument should be an
array in {path-to-wp-root}/wp-includes/widgets.php on line 1092

Warning: array_keys() [function.array-keys]: The first argument should be an
array in {path-to-wp-root}/wp-includes/widgets.php on line 1890

Warning: Cannot modify header information - headers already sent by (output
started at {path-to-wp-root}/wp-includes/widgets.php:1092) in
{path-to-wp-root}/wp-login.php on line 256

Warning: Cannot modify header information - headers already sent by (output
started at {path-to-wp-root}/wp-includes/widgets.php:1092) in
{path-to-wp-root}/wp-login.php on line 268
*********************************

I know its very likely my server config... but I think there should be
better handling of array in the point of errors.

Line: 1092 in /wp-includes/widgets.php
******
    foreach ( (array) array_keys($options) as $o ) {
******

I wonder if its worth checking if $options is actaully an array before
foreach .... ??


****************************
I am un-pluging for weekend.. see you you next week...

regards,


Azizur Rahman
ProDevStudio

Do you need cost effective web hosting solution and Domain name try
http://www.prodevstudio.net

Do you need a new web site try http://www.cgandc.net

Missed the last Friday Khutbah, try catchup a Khutbah on-line now at
http://www.fridaykhutbah.com


More information about the wp-testers mailing list