How to fix broken WordPress theme after upgrade array_key_exists

Submitted by Patrick Grote on Thu, 12/27/2007 - 4:21pm.

I finally found my perfect theme, but it kept giving me the following error when it ran:

Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /XXXXXX/wp-includes/category-template.php on line 176 

Looking through the WordPress support forums I found lots of people talking about it, but no one discussing the fix. I did find someone who explained the issue and described how to get around it. Notice I didn't say fix it .  


add new comment | 278 reads