• I’m getting this error message at the top of my site. Can someone try to help me and correct this issue?

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/m/a/t/mattvereb3/html/wp-includes/classes.php on line 310

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have a caching plugin installed? If so, try disabling it.

    Argument 2 to is a call to wp_get_nocache_headers which returns an array, the only time it wouldn’t return an array would be if there’s a filter applied to nocache_headers inside the above function, which is what gives me the impression you have a caching plugin installed(which could be running a filter on nocache_headers – but not returning an array, as it should be).

    I have the same error. I don’t have that type of plugin installed that I am aware of. Could a plugin do that without me enabling a caching setting manually? mattvereb did that work for you?

    i did have a plugin enabled that made the error. It was called “Spam Free”

    Thanks! “Spam Free” was indeed generating the error
    ??

    same for me ^^^

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Array Merge Error?’ is closed to new replies.