Title: array_merge(): Argument #1 is not an array
Last modified: May 1, 2018

---

# array_merge(): Argument #1 is not an array

 *  Resolved [testugyen](https://wordpress.org/support/users/testugyen/)
 * (@testugyen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/)
 * Hi Constant Contact Support team,
 * I found that your plugin array_merge(): Argument #1 is not a array – your plugin
   detects this error : Warning: array_merge(): Argument #1 is not an array in /
   var/www/wp-content/plugins/constant-contact-forms/includes/class-admin.php on
   line 386.
 * Looking forward hearing from you, if you have any ideas in this case or have 
   solutions.
 * With best regards,
    Dorji
    -  This topic was modified 8 years, 1 month ago by [testugyen](https://wordpress.org/support/users/testugyen/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10236053)
 * Good day Dorji,
 * That’s a curious issue, as it’s part of a spot that we have customized for the
   area in this spot (Click for a larger version):
 * [https://cloudup.com/cCdS2c_UWZq](https://cloudup.com/cCdS2c_UWZq)
 * The array_merge() line in question is:
 *     ```
       return array_merge( $links, $add_links );
       ```
   
 * We don’t edit/alter the `$links` variable until this spot specifically, which
   says to us that somehow, it’s not an array from the start, when passed to our
   code.
 * How comfortable would you be with editing the code? Or would you prefer we provide
   a hotfixed copy of the plugin to help address that error showing up?
    -  This reply was modified 8 years, 1 month ago by [Constant Contact](https://wordpress.org/support/users/constantcontact/).
 *  Thread Starter [testugyen](https://wordpress.org/support/users/testugyen/)
 * (@testugyen)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10237980)
 * Hi Constant Contact team,
 * It would be great if you provide a hotfixed copy of the plugin to resolve the
   above mentioned problem.
 * With best regards,
    Dorji
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10239492)
 * Please give this version a try.
 * [https://www.dropbox.com/s/c0ox76bb786jgw8/constant-contact-forms-array-fix.zip?dl=0](https://www.dropbox.com/s/c0ox76bb786jgw8/constant-contact-forms-array-fix.zip?dl=0)
 * It includes all of the 1.3.7 changes that got released yesterday afternoon, so
   you won’t have to miss out on improvements made there.
 * It should extract out to a matching folder name for what’s already on your server,
   so just need to upload via FTP and let it overwrite current files. Existing forms
   that you already created should not be affected at all.
 *  Thread Starter [testugyen](https://wordpress.org/support/users/testugyen/)
 * (@testugyen)
 * [8 years ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10321973)
 * Dear Constant Contact Team,
 * Thanks for an update and appreciate your service.
 * With best regards,
    Dorji
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [8 years ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10323515)
 * You’re welcome 🙂
 *  Plugin Author [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * (@constantcontact)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10397676)
 * This will be addressed in the next major version of the plugin.
 * Marking as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘array_merge(): Argument #1 is not an array’ is closed to new replies.

 * ![](https://ps.w.org/constant-contact-forms/assets/icon-256x256.png?rev=2951825)
 * [Constant Contact Forms](https://wordpress.org/plugins/constant-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/constant-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/constant-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/constant-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/constant-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/constant-contact-forms/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Constant Contact](https://wordpress.org/support/users/constantcontact/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/missing-array_merge-argument-1/#post-10397676)
 * Status: resolved