Title: PHP Warning
Last modified: August 21, 2016

---

# PHP Warning

 *  Resolved [purplepatriot](https://wordpress.org/support/users/purplepatriot/)
 * (@purplepatriot)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warning-19/)
 * I changed web hosts, and now when I submit forms (using Formidable plugin) I 
   get a PHP warning: Warning: extract() expects parameter 1 to be array, null given
   in /hsphere/local/home/a123456/mydomain.com/wp-includes/pluggable.php on line
   216
 * I believe the issue is with settings at new host, but new host says their settings
   are not wrong and that it must be a plugin. But all plugins worked at old host.
 * Formidable plugin author suggested installing your plugin. I did, and when I 
   sent a test message, I got this warning: “Warning: extract() expects parameter
   1 to be array, null given in /hsphere/local/home/a123456/mydomain.com/wp-content/
   plugins/cimy-swift-smtp/swift_engine.php on line 9”
 * Forms are set to submit to “info@mydomain.com” – but these don’t go through to
   mailbox. If I change form to send to “my.gmail@gmail.com” then I can receive 
   the email. The email is not hosted at the new host, so maybe that is the issue?
 * Help? Thank you!
    Eric
 * [http://wordpress.org/plugins/cimy-swift-smtp/](http://wordpress.org/plugins/cimy-swift-smtp/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marco Cimmino](https://wordpress.org/support/users/cimmo/)
 * (@cimmo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-warning-19/#post-4117737)
 * Line 9 is:
    `extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message','
   headers', 'attachments' ) ) );`
 * Probably some plug-in is applying ‘wp_mail’ filter in a buggy way, returning 
   null instead of an empty array.
    To discover the culprit, you have to search 
   through your plugins directory for ‘wp_mail’, you can do this quickly in many
   ways, for example with advanced file managers.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cimy-swift-smtp.svg)
 * [Cimy Swift SMTP](https://wordpress.org/plugins/cimy-swift-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cimy-swift-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cimy-swift-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/cimy-swift-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cimy-swift-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cimy-swift-smtp/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marco Cimmino](https://wordpress.org/support/users/cimmo/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/php-warning-19/#post-4117737)
 * Status: resolved