WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Warning: array_keys() [function.array-keys]: The first argument…

[Resolved] Warning: array_keys() [function.array-keys]: The first argument…

  • I get this when I try to install wp:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /nfs/c06/h04/mnt/xxxxxx/domains/mydomain.com/html/the-site/wp-includes/theme.php on line 513

    This happens in themes and plugins. I tried to set the file permissions to 777 and removed all plugins and themes and added them back. Deleted the wp-conten nd wp-includes folders and added them again.

    Nothign seemes to help. I’m on Mediatemple.

    All help it very much appreciated! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • No I haven’t, cause the it was like this the second I uploaded the files and database.

    It’s not a plugin that is causing it cause I removed all of them.

    It’s not file permissions, I changed theme and plugin folder to 777.

    It’s not data corruption (or what ever you call it) I deleted all files and reuploaded them.

    My apologies if I was too hasty to bump this.

    Not sure if this is off any help. I’m having issues trying to use the media app and uploading and then editing images. In one response on this support forum someone suggested changing permission on the wp-content folder to 766 which I did and this is when I got this and other errors. Went back to reset the permissions to their original 755 and this issue went away.

    One’s got to ask why this error came up under these circumstance in the first place – as in slack coding somewhere?

    Still haven’t resolved my media issues….

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Warning: array_keys() [function.array-keys]: The first argument…’ is closed to new replies.
Skip to toolbar