Error Message: Array Merge (2 posts)

  1. dmahler
    Posted 2 years ago #

    This is new one for me! Never saw this message before.

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/leafg0/public_html/wp-content/themes/LeafGuard/library/admins.php on line 223

    Warning: Cannot modify header information - headers already sent by (output started at /home/leafg0/public_html/wp-content/themes/LeafGuard/library/admins.php:223) in /home/leafg0/public_html/wp-includes/pluggable.php on line 876

    How do I fix it?

    I am using a custom template made by my Artisteer software and using Templeteer plugin.

    Site location:


  2. Stefan Boonstra
    Plugin Author

    Posted 2 years ago #

    Have you recently updated your theme? The error doesn't seem to relate to the plugin, but rather to your theme.

    The 'array_merge()' function says it expects an array, which is a list of values. If it doesn't get a list, it will give a warning. The second error is a result of the first. The server probably tries to redirect you to a different page. As an error has already been sent to your browser, it can't send you to a different page.

    You'll need to have a look at what's happening in your 'admins.php' file in your theme's 'library' folder.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic