Support » Networking WordPress » Sidebar error message Warning: array_key_exists() [function.array-key-exists]

  • I get this error on my sidebars until I add a widget, even off different theme or mapped to different subdomains, adding a widget makes it disapper

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/user/public_html/wp-includes/widgets.php on line 858

    It didn’t always do this.
    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    A plugin conflict maybe?

    Thanks Andrea
    Tried removing all plugins but no luck.
    Changing the themes on the blogs displaying the errors (any without a sidebar widget) didn’t help.
    Changing the main theme to default (actually I used P2 instead) and back again fixed the problem…. at least temporarily.
    I suspect I’ve put some dodgy code in my theme but not sure why it goes away with a theme change….. we’ll see how long it lasts.

    It goes away because you have a theme that didn’t correctly check for the existence of a widget and error out gracefully. That’s all

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar error message Warning: array_key_exists() [function.array-key-exists]’ is closed to new replies.