Title: array keys
Last modified: August 19, 2016

---

# array keys

 *  [glamuh](https://wordpress.org/support/users/glamuh/)
 * (@glamuh)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/array-keys/)
 * This happens to me every time I install wordpress. I have uninstalled it and 
   installed it so many times and I can’t figure out what the problem is.
 * Basically when I set up the config file and first log in, I get this message 
   at the dashboard:
 * Warning: array_keys() [function.array-keys]: The first argument should be an 
   array in /homepages/1/d246510583/htdocs/blogg/wp-includes/theme.php on line 315
 * Then when I go to the Design tab and go to themes, it says this:
 * Warning: ksort() expects parameter 1 to be array, boolean given in /homepages/
   1/d246510583/htdocs/blogg/wp-admin/themes.php on line 33
 * Warning: array_slice() [function.array-slice]: The first argument should be an
   array in /homepages/1/d246510583/htdocs/blogg/wp-admin/themes.php on line 52

The topic ‘array keys’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [glamuh](https://wordpress.org/support/users/glamuh/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/array-keys/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
