Support » Plugin: Constant Contact Forms » plugin is breaking website – editor

  • Resolved mfabes

    (@mfabes)


    This plugin is breaking my site as far as being able to edit any posts, pages or anything else. It is causing a http 500 error. It has something to do with calling the API. Please fix!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    The only time it should be calling the Constant Contact API is after a submission. Not so much when editing other parts of the website.

    If you have any sort of logs for the errors, I’d be happy to look them over. Otherwise, I don’t really have a lot to go on at the moment, and have nothing I can look into fixing.

    Thread Starter mfabes

    (@mfabes)

    I am not talking about editing / customizing the plugin. What I’m saying is the plugin is preventing me from being able to edit anything else on my website (pages, posts, etc.).The plugin caused http 500 error. Once deactivated, everything works fine.

    Thread Starter mfabes

    (@mfabes)

    [22-Jun-2017 15:34:12 UTC] PHP Fatal error: Uncaught exception ‘GuzzleHttp\Exception\ServerException’ with message ‘Server error response [url] https://api.constantcontact.com/v2/account/info?api_key=kawd2utg75a4aa7dgvvqzgjh [status code] 500 [reason phrase] Internal Server Error’ in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php:89
    Stack trace:
    #0 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
    #1 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), ‘complete’)
    #2 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Re in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php on line 89
    [22-Jun-2017 15:39:35 UTC] PHP Catchable fatal error: Argument 1 passed to Ctct\Exceptions\CtctException::setErrors() must be of the type array, null given, called in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/Services/BaseService.php on line 84 and defined in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/Exceptions/CtctException.php on line 18
    [22-Jun-2017 15:40:05 UTC] PHP Fatal error: Uncaught exception ‘GuzzleHttp\Exception\ServerException’ with message ‘Server error response [url] https://api.constantcontact.com/v2/account/info?api_key=kawd2utg75a4aa7dgvvqzgjh [status code] 500 [reason phrase] Internal Server Error’ in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php:89
    Stack trace:
    #0 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
    #1 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), ‘complete’)
    #2 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Re in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php on line 89
    [22-Jun-2017 15:40:52 UTC] PHP Fatal error: Uncaught exception ‘GuzzleHttp\Exception\ServerException’ with message ‘Server error response [url] https://api.constantcontact.com/v2/account/info?api_key=kawd2utg75a4aa7dgvvqzgjh [status code] 500 [reason phrase] Internal Server Error’ in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php:89
    Stack trace:
    #0 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
    #1 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), ‘complete’)
    #2 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Re in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php on line 89
    [22-Jun-2017 15:42:55 UTC] PHP Fatal error: Uncaught exception ‘GuzzleHttp\Exception\ServerException’ with message ‘Server error response [url] https://api.constantcontact.com/v2/account/info?api_key=kawd2utg75a4aa7dgvvqzgjh [status code] 500 [reason phrase] Internal Server Error’ in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php:89
    Stack trace:
    #0 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Subscriber/HttpError.php(33): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Message\Response))
    #1 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete(Object(GuzzleHttp\Event\CompleteEvent), ‘complete’)
    #2 /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Re in /home/daretodr/public_html/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Exception/RequestException.php on line 89

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Thanks for this.

    It looks like the requests being made are missing key parts in order to return successful results. However it also looks like somewhere along the chain we’re not handling possible results in a non-breaking way.

    If you’ve connected a Constant Contact account via one of the menu pages, and are able to still reach that page, can you try disconnecting and re-connecting the account? Hoping that generates all the necessary parts to make it work like it should.

    Meanwhile, I’m going to be looking through the provided errors and see if there’s an entry point that our WordPress plugin can step in to help. Right now, I’m seeing mostly areas from a vendor folder which is 3rd party and not something we wrote ourselves.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘plugin is breaking website – editor’ is closed to new replies.