Title: WP Mail Array
Last modified: August 21, 2016

---

# WP Mail Array

 *  Resolved [webventures](https://wordpress.org/support/users/webventures/)
 * (@webventures)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wp-mail-array/)
 * PHP Warning: extract() expects parameter 1 to be array, null given in /wp-content/
   plugins/wp-sendgrid/includes/wp-mail.php on line 39
 * any ideas on how to resolve this error? I am on rackspace cloudsites.
 * [http://wordpress.org/plugins/wp-sendgrid/](http://wordpress.org/plugins/wp-sendgrid/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Will Anderson](https://wordpress.org/support/users/itsananderson/)
 * (@itsananderson)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wp-mail-array/#post-4398647)
 * Based on the error, it looks like there’s a “wp_mail” filter defined on your 
   site that is returning null. The odd thing is, the core wp_mail() function that
   this replaces does the exact same thing. Can you check whether the same warning
   appears when the plugin is disabled?
 * I can add an is_array() check to make the function more robust, but it seems 
   strange, since the core function doesn’t do that, so the plugin be deviating 
   slightly in behavior.

Viewing 1 replies (of 1 total)

The topic ‘WP Mail Array’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-sendgrid.svg)
 * [WP SendGrid](https://wordpress.org/plugins/wp-sendgrid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-sendgrid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sendgrid/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sendgrid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sendgrid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sendgrid/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Will Anderson](https://wordpress.org/support/users/itsananderson/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/wp-mail-array/#post-4398647)
 * Status: resolved