- This topic is empty.
- The forum ‘CSS’ is closed to new topics and replies.
I keep getting this error in my sidebar on a website that I’m working on. Anyone know how I can fix it? I can’t think of anything that I may have done to cause it.
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/logowork/public_html/wp-includes/widgets.php on line 858
Sorry… I just noticed I put this in the wrong category. Please move it if you wish.
Basically the function is supposed to check if a key exists in an array. You’ll get this error if you haven’t passed an array in as the second argument i.e. the thing you are looking for the key in