[wp-testers] 2.5 upgrade error- coding?

MichaelH justmichaelh at gmail.com
Mon Mar 24 20:07:29 GMT 2008


----- Original Message ----- 
From: "Ryan Boren" <ryan at boren.nu>
To: <wp-testers at lists.automattic.com>
Sent: Monday, March 24, 2008 3:56 PM
Subject: Re: [wp-testers] 2.5 upgrade error- coding?


> 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.


This question is also being bandied about the Forums:
http://wordpress.org/support/topic/163178


MichaelH 




More information about the wp-testers mailing list