WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Keep Getting Error! (6 posts)

  1. Zanoris
    Member
    Posted 4 years ago #

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/zanoris/public_html/wp-includes/classes.php on line 310

    Always pops up when I open my site and I don't have the required know-how to fix it. I just installed WP by using Fantastico and it's been there just above the header from the very beginning.

    Don't know what to do.

  2. dotjc
    Member
    Posted 4 years ago #

    I have exactly the same problem. Hopefully someone can help us.

  3. dotjc
    Member
    Posted 4 years ago #

    The error message had gone this morning and I thought it was all sorted but now it is back again. I can't find what it means in any "help" or any other posts. Hopefully someone can tell us how to fix it!

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Have you tried re-uploading the wp-includes folder from a fresh download of WordPress?

  5. dotjc
    Member
    Posted 4 years ago #

    Thanks for your reply.
    When I looked at my website again this morning (just now) there is no error message showing again. It seems weird that it comes and goes.

    Could you please elaborate on what you suggested in case the error message comes back? Where do I find the wp-includes folder and how do you upload an individual folder. I am pretty new to Word Press and still finding my way around it. Thanks.

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    The theory was that something had corrupted some of the WP core files (although, in this case, it would seem like it was a temporary server issue). The sub-folder wp-includes contains many scripts that are used to run both the front end of the site and some of the back end Admin area. If some of those files are damaged, the easiest option is to:

    1. Download another copy of your version of WordPress
    2. Open the downloaded archive on your computer
    3. Extract the complete wp-includes folder
    4. Upload the folder to your WP install on yoursite using FTP (or whatever file management application your host provides).

    This should replace any damaged files in that folder.

Topic Closed

This topic has been closed to new replies.

About this Topic