[resolved] Warning: array_keys() [function.array-keys]: The first argument... (5 posts)

  1. hilj
    Posted 4 years ago #

    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! :)

  2. Samuel B
    Posted 4 years ago #

  3. hilj
    Posted 4 years ago #

    No I haven't, cause the it was like this the second I uploaded the files and database.

  4. hilj
    Posted 4 years ago #

    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.

  5. tingyat
    Posted 4 years ago #

    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....

Topic Closed

This topic has been closed to new replies.

About this Topic