• Hey all,
    PHP problem. Tried to isolate it, but not PHP savvy enough.
    Doing maintenance on a clients site, and noticed she had a warning across the top of her site. I did not create the theme, just doing some maintenance to it.

    The address is http://www.temeculamaternityphotographer.com/ you can see the warning across the top of the page.

    The warning is calling out line 324 in classes.php.
    Below is line 324:
    $headers = array_merge($headers, wp_get_nocache_headers());

    Any help? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not seeing any warning in Firefox or IE8 – even with CSS turned off. Perhaps it’s only visible when you’re logged into the site?

    Thread Starter bahia0019

    (@bahia0019)

    Hmm… You’re right. Thank you.

    Firefox is OK
    IE8 is OK, but gets the warning when logged in.

    I first saw it on Chrome and I was logged in when I saw it.

    So I guess people visiting the site will not see it.
    But there still is a problem…

    Have a look to this post:
    http://wordpress.org/support/topic/error-code-not-understood
    I had the same problem and when deactivating the SpamFree WP plugin, the warning was gone even if I was logged in or not.
    Hope it helps, BR,
    ;-D

    Thread Starter bahia0019

    (@bahia0019)

    Thanks dejo. That is probably the culprit, as I have that one installed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: array_merge() [function.array-merge]: Argument #2 is not an array’ is closed to new replies.