Title: Another PHP Error
Last modified: March 10, 2023

---

# Another PHP Error

 *  [Tyler Johnson](https://wordpress.org/support/users/tylerjohnsondesign/)
 * (@tylerjohnsondesign)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/another-php-error-2/)
 * Hello there! We’re using this plugin to send email confirmations after the submission
   of a Gravity Form. We were getting an error when submitting the form, specifically:
   
   Extract expects parameter 1 to be array, string given in **/wp-content/plugins/
   send-emails-with-mandrill/lib/wpMandrill.class.php** on line **1717**I’ve temporarily
   fixed this by casting the return from the apply_filters call as an array. So,
   basically:extract( (array)apply_filters( ‘wp_mail’….And that has resolved the
   issue

The topic ‘Another PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/send-emails-with-mandrill/assets/icon-256x256.png?rev=1920659)
 * [Send Emails with Mandrill](https://wordpress.org/plugins/send-emails-with-mandrill/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/send-emails-with-mandrill/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/send-emails-with-mandrill/)
 * [Active Topics](https://wordpress.org/support/plugin/send-emails-with-mandrill/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/send-emails-with-mandrill/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/send-emails-with-mandrill/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Tyler Johnson](https://wordpress.org/support/users/tylerjohnsondesign/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/another-php-error-2/)
 * Status: not resolved