Need Help! Cannot login to WP - Warning message?

Discussion in 'WordPress' started by 1witness, Nov 10, 2008.

  1. #1
    Please help. Every since I tried adding code to a text box in my widgets file, this error shows up. Not to mention I cannot even login to Wordpress dashboard to remove the code..? I need to know how to login to WP?? Also, since this is in my sidebar, if I uploaded a clean "sidebar' file through my hosting company, would this mess the blog up? Would it break the blog? I need help!!!

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

    Warning: Invalid argument supplied for foreach() in /home/torgeson/public_html/redvwbus/wp-includes/widgets.php on line 686
     
    1witness, Nov 10, 2008 IP
  2. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Take it easy, buddy. Relax. That's the first thing you must do. Ok, now, can you access your site via FTP? If so, simply log in to your site via FTP, download the file you edited, undo what you did and reupload it. That should fix it.
     
    Ikki, Nov 10, 2008 IP
  3. 1witness

    1witness Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That is the problem, I tried finding the file, but to no avail. Can I just upload a fresh 'sidebar' php file? will that erase my categories etc..?

    And yes, I need to relax :)
     
    1witness, Nov 10, 2008 IP
  4. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nope. Uploading a new sidebar.php won't delete your categories (unless you have manually placed them in there). Keep a copy of your old sidebar.php before replacing it.
     
    Ikki, Nov 10, 2008 IP