[wp-testers] Array error in latest versions

Robin Adrianse robin.adr at gmail.com
Tue May 8 15:46:47 GMT 2007


Looks like we do a count() and array_keys() on the global $wp_actions
without checking that $wp_actions isset() and is_array().

Apologies if that didn't make any sense.

On 5/8/07, Michael E. Hancock <mhancock at us.net> wrote:
>
> Getting this error in installing 2.2 almost beta [5183]
> Warning: array_keys() [function.array-keys]: The first argument should be
> an
> array in C:\xampp\htdocs\version22\wp-includes\plugin.php on line 174
>
> Getting this error in installing 2.3 alpha [5200]
> Warning: array_keys() [function.array-keys]: The first argument should be
> an
> array in C:\xampp\htdocs\version23\wp-includes\plugin.php on line 176
>
>
>
> Michael E. Hancock
>
>
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list