WordPress.org

Ready to get started?Download WordPress

Forums

Cimy Swift SMTP
[resolved] PHP Warning (2 posts)

  1. purplepatriot
    Member
    Posted 1 year ago #

    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/

  2. Marco Cimmino
    Member
    Plugin Author

    Posted 11 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic