Title: WP-admin error messages
Last modified: August 21, 2016

---

# WP-admin error messages

 *  [Marjuli](https://wordpress.org/support/users/marjuli/)
 * (@marjuli)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/wp-admin-error-messages/)
 * I managed to destroy my site completely, was unable to log in to wp-admin for
   a while and now when I have access, my site is still blank (no theme installed,
   tho everything except plugins seems to be in order) and there’s this:
 * Warning: Invalid argument supplied for foreach() in /home2/name/public_html/name.
   com/wp-admin/theme-install.php on line 37
 * Warning: array_keys() [function.array-keys]: The first argument should be an 
   array in /home2/name/public_html/name.com/wp-admin/theme-install.php on line 
   59.
 * So. Do I need to “hunt” those lines down in c-panel (and how to fix them if so)
   or do I just use the “add new theme” -feature

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/wp-admin-error-messages/#post-4839087)
 * Try re-uploading all files & folders – **except** the root wp-config.php & .htaccess
   files and the wp-content folder – from a **fresh** download of your current version
   of WordPress. Make sure that you delete the old copies of files & folder before
   uploading the new ones.

Viewing 1 replies (of 1 total)

The topic ‘WP-admin error messages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/wp-admin-error-messages/#post-4839087)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
