Title: Array_keys() [function.array-keys]:
Last modified: August 19, 2016

---

# Array_keys() [function.array-keys]:

 *  [NKhat](https://wordpress.org/support/users/nkhat/)
 * (@nkhat)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/)
 * I’m a complete novice and have no idea what happened–tried to change some file
   names and received this error message (ErrorDocument 404 /index.php?error=404),
   so changed the file names back, but now on the wordpress dash, I have the following
   message:
 * array_keys() [function.array-keys]: The first argument should be an array in /
   home2/domain/public_html/wp-includes/theme.php on line 513
 * Is there something straightforward that I can do to fix this or should I installed
   WP through my shared host using Simple Scripts–should I uninstall it and try 
   reinstalling it? Thanks very much!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/#post-1903621)
 * > tried to change some file names
 * Where where these files?
 *  Thread Starter [NKhat](https://wordpress.org/support/users/nkhat/)
 * (@nkhat)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/#post-1903628)
 * in the public_html folder
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/#post-1903631)
 * You renamed some of the WordPress core files? Try re-uploading all files & folders–**
   except** the wp-content folder – from a **fresh** download of WordPress.
 *  Thread Starter [NKhat](https://wordpress.org/support/users/nkhat/)
 * (@nkhat)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/#post-1903640)
 * okay! Thank you!!

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

The topic ‘Array_keys() [function.array-keys]:’ is closed to new replies.

## Tags

 * [array keys](https://wordpress.org/support/topic-tag/array-keys/)
 * [error 404](https://wordpress.org/support/topic-tag/error-404/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [NKhat](https://wordpress.org/support/users/nkhat/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/array_keys-functionarray-keys/#post-1903640)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
