WordPress.org

Support

Support » Plugins and Hacks » Cimy Swift SMTP » [Resolved] PHP Warning

[Resolved] PHP Warning

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Marco Cimmino

    @cimmo

    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 ‘[Resolved] PHP Warning’ is closed to new replies.
Skip to toolbar