Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Warning: array_key_exists()

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31993
    sebgonz
    Member

    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
    #55621
    sebgonz
    Member

    Sorry… I just noticed I put this in the wrong category. Please move it if you wish.

    #55623
    TT_Mark
    Member

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.