Support » Plugin: WP Mail SMTP by WPForms » Latest Version 1.3.3 – PHP Fatal error – Conflict with Constant Contact Forms

  • bburgay

    (@bburgay)



    Hi,

    After upgrading to the latest version (1.3.3) I have a fatal error due to a conflict with Constant Contact Forms for WP (https://wordpress.org/plugins/constant-contact-forms/). The Constant Contact Forms plugin was not recently updated and works with the previous version of WP Mail SMTP I had installed (1.2.5). Here is the error and stack trace:

    
    [13-Jul-2018 14:07:36 UTC] PHP Fatal error:  Uncaught TypeError: Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given, called in /wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Client.php on line 89 and defined in /wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Client.php:128
    Stack trace:
    #0 /wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Client.php(89): GuzzleHttp\Client->request('createRequest', 'GET', 'https://api.con...')
    #1 /wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/Services/BaseService.php(69): GuzzleHttp\Client->__call('createRequest', Array)
    #2 /wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/Services/Contac in /wp-content/plugins/wp-mail-smtp/vendor/guzzlehttp/guzzle/src/Client.php on line 128
    

    Best Regards,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hi @bburgay,

    Thanks for the report.
    We will test the plugin against Constant Contact.
    Can you prepare a step-by-step tutorial of how to replicate this error? How should I set up the plugin and what should I do to generate this error?

    bburgay

    (@bburgay)

    Hi Slava,

    Thanks for the reply. Here are the steps to reproduce:

    1. Setup a new Constant Contact form.
    2. In the form settings check “No page refresh”.
    3. Under Contact Form > Settings make sure “Disable E-mail Notifications” is unchecked.
    4. Place the form on a page and try to submit.

    Let me know if you are unable to reproduce as these are just my settings and I haven’t tried a fresh setup to reproduce. I don’t think you should have to connect the plugin to a Constant Contact account as the error is coming from the Email notification sent to the admin email on submit.

    Best,
    Brian

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.