Title: White Screen and Warning: array_keys: theme
Last modified: August 19, 2016

---

# White Screen and Warning: array_keys: theme

 *  [MLobel](https://wordpress.org/support/users/mlobel/)
 * (@mlobel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/)
 * It all began when I attempted to relocate site from localhost (Wamp) to Netowrk
   Solutions. I followed the codex guide to the tee for relocating. Changed all 
   directories. Network Solutions support said that from their end it should be 
   working…yet if I go to site url I get the dreaded white screen and when I finally
   gained access again to WP dashboard a new error message popped up:
 * Warning: array_keys() [function.array-keys]: The first argument should be an 
   array in /data/19/1/68/156/1883156/user/2047296/htdocs/wp-includes/theme.php 
   on line 513
 *  Not sure what to do from here! Can’t find a fix on forum or documentation. Any
   help would be wonderfully appreciated!
 * Additional Info: I’m using Headway themes.
 * Thank you!!!

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776437)
 * Could be an error in your theme. Try switching to the default theme by renaming
   your current theme’s folder in wp-content/themes using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides. That should get you
   back into your remote site.
 * Then try [setting error logging and debug on](http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Log)
   in your local install.
 *  Thread Starter [MLobel](https://wordpress.org/support/users/mlobel/)
 * (@mlobel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776469)
 * Ok, done but now I get the following error:
    Fatal error: Call to undefined function
   get_header() in /data/19/1/68/156/1883156/user/2047296/htdocs/index.php on line
   10
 * When I go to URL and my headway theme is no longer on my dashboard as an option.
   So confused. Thought it was a headway issue but now with headway not even on 
   dashboard my site is still down.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776474)
 * Do you have a twenyten folder in your wp-content/themes folder?
 *  Thread Starter [MLobel](https://wordpress.org/support/users/mlobel/)
 * (@mlobel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776476)
 * yes, all twentyten items show up in my file manager through network solutions
   and that is the only theme avialable on dashboard and is currently set as theme
   in my dashboard.
    Thank you so much for helping me!!!!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776479)
 * Try re-uploading all files & folders – **except** the wp-content folder – from
   a **fresh** download of WordPress. Then re-upload a fresh copy of the Twenty 
   Ten theme (you’ll find it within the wp-content/themes folder of the downloaded
   WP archive).
 *  Thread Starter [MLobel](https://wordpress.org/support/users/mlobel/)
 * (@mlobel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776487)
 * Should I remove the existing files mentioned from my file mmanager before or 
   after I take this action?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776658)
 * Just over-write the files.
 *  Thread Starter [MLobel](https://wordpress.org/support/users/mlobel/)
 * (@mlobel)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776669)
 * Ok I did it. More errors occured (dashboard failed, etc). So, I deleted the entire
   database from Net Sol and reuploaded from backup I created. Followed all steps
   per codex (again) to change url. Dashboard worked instantly this time and all
   url’s are correct on dashboard and database. My headway theme is still not showing
   in Manage themes in dashboard. I can’t “view” any posts, and when I enter site
   URL in browser I get the following error:
 * Fatal error: Call to undefined function get_header() in /data/19/1/68/156/1883156/
   user/2047296/htdocs/index.php on line 10
 * It seems that even the default twentyten theme doesn’t load site. Thanks you 
   in advance for your help!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776673)
 * Did the install work before you imported the local database sql?
 *  [grantgriffiths](https://wordpress.org/support/users/grantgriffiths/)
 * (@grantgriffiths)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776729)
 * Have you thought about going to the Headway forums where we could actually help
   you on this?
 *  [rafeeg](https://wordpress.org/support/users/rafeeg/)
 * (@rafeeg)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776730)
 * Good topic…

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘White Screen and Warning: array_keys: theme’ is closed to new replies.

## Tags

 * [change URL](https://wordpress.org/support/topic-tag/change-url/)
 * [white screen](https://wordpress.org/support/topic-tag/white-screen/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 4 participants
 * Last reply from: [rafeeg](https://wordpress.org/support/users/rafeeg/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/white-screen-and-warning-array_keys-theme/#post-1776730)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
