[wp-testers] 2.5 upgrade error- coding?
Ryan Boren
ryan at boren.nu
Mon Mar 24 19:56:23 GMT 2008
On Mon, Mar 24, 2008 at 11:26 AM, CoralPost <tl at coralpost.net> wrote:
> hello
>
> Just upgraded to 2.5. Nice BTW but, I am receiving this error at the top of each post:
>
> "Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/myfault/public_html/wp-includes/category-template.php on line 192"
>
> This would seem to suggest a coding error, but I am not a PHP guru.
>
> While this appears at the top of each post, clicking on that post displays properly and all else seems to be working fine.
>
> Ideas? Assistance?
Are you using the function in_category() in your templates? If so, how
is it being used? It expects either a category name or category ID to
be passed to it.
More information about the wp-testers
mailing list