Title: Warning: array_unique() expects parameter 1 to be array, null given
Last modified: August 23, 2021

---

# Warning: array_unique() expects parameter 1 to be array, null given

 *  Resolved [joshcummingsdesign](https://wordpress.org/support/users/joshcummingsdesign/)
 * (@joshcummingsdesign)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_unique-expects-parameter-1-to-be-array-null-given/)
 * Hello,
 * We are running EDD Helpscout version 2.1 and we are getting the following warning
   in Sentry:
 * Warning: array_unique() expects parameter 1 to be array, null given
 * /wp-content/plugins/edd-helpscout/includes/class-endpoint.php in EDD\HelpScout\
   Endpoint::get_customer_emails at line 166
 * This happens when a POST request is made to /edd-helpscout-api/customer_info
 * Thank you for your help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_unique-expects-parameter-1-to-be-array-null-given%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/warning-array_unique-expects-parameter-1-to-be-array-null-given/#post-14857971)
 * Resolved. See [https://wordpress.org/support/topic/warning-invalid-argument-supplied-for-foreach-150/](https://wordpress.org/support/topic/warning-invalid-argument-supplied-for-foreach-150/)

Viewing 1 replies (of 1 total)

The topic ‘Warning: array_unique() expects parameter 1 to be array, null given’ 
is closed to new replies.

 * ![](https://ps.w.org/edd-helpscout/assets/icon-256x256.png?rev=2553148)
 * [Help Scout integration for Easy Digital Downloads](https://wordpress.org/plugins/edd-helpscout/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/edd-helpscout/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/edd-helpscout/)
 * [Active Topics](https://wordpress.org/support/plugin/edd-helpscout/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/edd-helpscout/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/edd-helpscout/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/warning-array_unique-expects-parameter-1-to-be-array-null-given/#post-14857971)
 * Status: resolved