Help please, widgets.php error / can't access wp-admin

Discussion in 'WordPress' started by owndotcomfree, Jan 26, 2009.

  1. #1
    Hi, I need help. I can't access my wordpress blog wp-admin. My blog url is http://onlinecareer.co.cc

    When you go to my blog, there is a message at the header:

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

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

    When i try to access my wp-admin this is the message:

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

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/jacob/public_html/wp-includes/widgets.php:686) in /home/jacob/public_html/wp-includes/pluggable.php on line 770
     
    owndotcomfree, Jan 26, 2009 IP
  2. myp

    myp Well-Known Member

    Messages:
    1,281
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Reupload all your wordpress files except for wp-config.php and the wp-content folder.
     
    myp, Jan 26, 2009 IP
  3. owndotcomfree

    owndotcomfree Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the quick reply.

    What does reupload mean? Should I upload files coming from a backup and overwriting except for the two files you mentioned?
     
    owndotcomfree, Jan 26, 2009 IP
  4. myp

    myp Well-Known Member

    Messages:
    1,281
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    140
    #4
    Just download a fresh copy of Wordpress and upload those files except for the two I mentioned. If you aren't currently using the latest version of WP then you can also upgrade at the same time as doing this- if you'd prefer not to upgrade then just download the same version of WP that you have from the wordpress.org release list.
     
    myp, Jan 26, 2009 IP
  5. owndotcomfree

    owndotcomfree Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you so much. I'll do that.
     
    owndotcomfree, Jan 26, 2009 IP
  6. bojomojo

    bojomojo Peon

    Messages:
    921
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    move all your plugins to a backup folder then delete them from the plugins folder, that should disable it making the widgets empty. then try
     
    bojomojo, Jan 27, 2009 IP