Worpdress Array Merge Error help

2 replies
Today I was just going about my daily routine and when I logged into my Wordpress account and went to 'Add New Post' I was presented with the following error message -

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

It also appears at the top of my webpages on certain web browsers...

Anybody got any knowledge that can be of assistance?

Regards
Stuart
#array #error #merge #worpdress
  • Profile picture of the author KathyK
    Signature

    Cheers,
    Kathy

    {{ DiscussionBoard.errors[2389858].message }}
  • Profile picture of the author pbarnhart
    This is usually caused by a plugin - first, you have one plugin, "Adopt Styles," that's generating a bad CSS link. Perhaps thats the one that is broken. Spam Free will cause this as well. You will need to turn off each plugin in turn to see which one is creating it.

    Long term, you are hosted on Hostgator, so you should suppress error messages globally.
    1. Go to your CPANEL and scroll down to "php.ini Quick Config" under "Software/Services"
    2. Scroll down to "display_errors" and switch it to 'off'
    3. Save your changes.

    Note this doesn't fix the errors, just keeps them from being public. They should still be logged, so you can troubleshoot you errors via the log file (log file location is shown in the same control page).
    {{ DiscussionBoard.errors[2389894].message }}

Trending Topics