WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] array_keys() [function.array-keys] - not using widgets (2 posts)

  1. dustyhawk
    Member
    Posted 5 years ago #

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/namedomain/public_html/namedomain/wp-includes/widgets.php on line 686

    Warning: Invalid argument supplied for foreach() in /home/namedomain/public_html/namedomain/wp-includes/widgets.php on line 686

    i read the topic for :

    http://wordpress.org/support/topic/172272?replies=23

    it seems to be caused by a widget.

    However i'm not using any widget and even on a theme that is widget free, all plugin switch off, that warning is still there

  2. dustyhawk
    Member
    Posted 5 years ago #

    the above began with

    http://wordpress.org/support/topic/197308?replies=6

    Whereby i had problems with creating/edit/delete post/page/link. It was solved with using the new wp-config.php as my old version did not have the secret key. (though the big blank white space is still there)

    As soon as i uploaded the (new)wp-config.php , the following warning appear

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/namedomain/public_html/namedomain/wp-includes/widgets.php on line 686

    Warning: Invalid argument supplied for foreach() in /home/namedomain/public_html/namedomain/wp-includes/widgets.php on line 686

    Thinking I did something wrong with the (new)wp-config.php , i replace the (old)wp-config.php . Now when i place the (old)wp-config.php, the issues from http://wordpress.org/support/topic/197308?replies=6 will begin again.

    Anyway the (new)wp-config.php is being used and besides the above warning error appearing on my websites main page as well as the wp dasboard, it breaks the admin page. Where the right sidebar is on top while the [title] and the [body] section is at the bottom.

    something like this :

    http://www.geocities.com/leo141083/wp-261-error1.jpg

Topic Closed

This topic has been closed to new replies.

About this Topic