• Resolved lindamaybe2013

    (@lindamaybe2013)


    I’m using WordPress 4.8.2 and CC 1.3.4. When I install the plugin, add a form, connect to my constant contact acct, and then click on the form—I receive Error 500. I tried deactivating, deleting and reinstalling, but that didn’t help. Also, noticed that if I try to Edit a page under Pages now, I get the same Error 500 so will have to deactivate the plugin again so that I can continue to work. (I have not activated Google Captcha into the plugin yet.) Talking to my hosting provider and he said that he “verified that api.constantcontact.com is “reachable” by the server the site is on”.

    Anyone know how to resolve this?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter lindamaybe2013

    (@lindamaybe2013)

    My hosting provider suggested trying an older version of the plugin. Is there a way to download an older version?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi Linda,

    Without more detailed information about the error in question, it’s hard to pinpoint exactly what’s going on. “Error 500” is pretty generic and not any indicator that the issue is for sure Constant Contact. It is indicative, based on your feedback, that the error is occurring when Constant Contact Forms is active.

    You can download previous versions of the plugin at the bottom of https://www.ads-software.com/plugins/constant-contact-forms/advanced/ but the last release we had was two months ago, which is well before version 4.8.2 from WordPress. Hard to say how many people may be using that combination, but I haven’t seen any come in for support.

    Thread Starter lindamaybe2013

    (@lindamaybe2013)

    Sorry, how can I get you more error info? where can I find it?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    The hosting provider support should be able to help out there, especially if you’re no necessarily the most technical/developer-y (zero offense intended).

    Plugin Author Constant Contact

    (@constantcontact)

    Any new developments with this one @lindamaybe2013 ?

    Kurt Eye

    (@kurt-freshrrcom)

    I just installed the plugin and get a 500 error as well, also when attempting to edit a WP page while the plugin is active. From our logs:

    #0 /wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlFactory.php(91): GuzzleHttp\Ring\Client\CurlFactory::createErrorResponse(Array, Array, Array)
    #1 /wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlHandler.php(96): GuzzleHttp\Ring\Client\CurlFactory::createResponse(Array, Array, Array, Array, Resource id #14)
    #2 /wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlHandler.php(68): GuzzleHttp\Ring\Client\CurlHandler->_invokeAsArray(" while reading response header from upstream, client: 10.205.20.135, server: www.sample.com, request: "GET /wp-admin/edit.php?post_type=ctct_forms&page=ctct_options_settings HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.sample.com", referrer: "https://www.sample.com/wp-admin/edit.php?post_type=ctct_forms"
    2017/11/01 15:28:07 [error] 26109#0: *136327 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught exception 'GuzzleHttp\Ring\Exception\RingException' with message 'cURL error 60: SSL certificate problem: self signed certificate in certificate chain' in /wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/ringphp/src/Client/CurlFactory.php:127
    • This reply was modified 7 years ago by Kurt Eye.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @kurt-freshrrcom are you working from a windows or linux server at the moment?

    The key part of the error shown is:

    ‘cURL error 60: SSL certificate problem: self signed certificate in certificate chain’

    Basically there’s issues with the current SSL certificate not being accepted for some reason.

    https://community.constantcontact.com/t5/Getting-Started-with-API-s/Fatal-error-Uncaught-exception-GuzzleHttp-Ring-Exception/td-p/266223

    Kurt Eye

    (@kurt-freshrrcom)

    It’s a Linux server running NGINX. I can have IT look into it, but it’s curious that when the plugin is activated it also takes out /wp-admin/edit.php for editing pages, posts, etc.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Keep us informed, as I’d be interested in knowing what works to solve the issue, if a solution is found quickly.

    Kind of one of those fatal errors that seems to occur no matter what screen you’re loading.

    companyv

    (@companyv)

    Similar issue
    I cannot edit pages that have the form on them – get the error in the code below.
    I have edited the actual domain to DOMAIN.com in the code below

    Notice: Use of undefined constant JSON_ERROR_DEPTH - assumed 'JSON_ERROR_DEPTH' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 134 Notice: Use of undefined constant JSON_ERROR_STATE_MISMATCH - assumed 'JSON_ERROR_STATE_MISMATCH' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 134 Notice: Use of undefined constant JSON_ERROR_CTRL_CHAR - assumed 'JSON_ERROR_CTRL_CHAR' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 134 Notice: Use of undefined constant JSON_ERROR_SYNTAX - assumed 'JSON_ERROR_SYNTAX' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 134 Notice: Use of undefined constant JSON_ERROR_UTF8 - assumed 'JSON_ERROR_UTF8' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 134 Notice: Use of undefined constant JSON_ERROR_NONE - assumed 'JSON_ERROR_NONE' in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 144 Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\json_last_error() in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php:144 Stack trace: #0 /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Message/Response.php(145): GuzzleHttp\Utils::jsonDecode('[{"id":"1952217...', true, 512, 0) #1 /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/constantcontact/src/Ctct/Services/ListService.php(46): GuzzleHttp\Message\Response->json() #2 /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/includes/class-api.php(205): Ctct\Services\ListService->getLists('94c69662-223c-4...') #3 /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/includes/class-lists.php(788): ConstantContact_API->get_lists(false) #4 /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/includes/class-builder.php(88): ConstantCon in /var/www/html/DOMAIN.com/wp-content/plugins/constant-contact-forms/vendor/constantcontact/guzzlehttp/guzzle/src/Utils.php on line 144

    SYSTEM INFO

    PHP Version 7.1.8
    System 	Linux 
    Server API 	Apache 2.0 Handler 
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hey @companyv

    I recall one other person running into this same error, but I was unable to reproduce at the time. I requested that they try something I mention in this forum reply: https://www.ads-software.com/support/topic/fatal-error-when-using-php-7-1/#post-9358631 however I think something changed on their end that ended up no longer causing an error.

    I am wondering if you could help try this change out while you’re still experiencing it.

    The file in question should be in the /vendor/constantcontact/guzzlehtp/guzzle/src/utils.php location within our plugin, around line 144-145.

    If you confirm that things are working afterwards, I’ll get this patched up for a future release.

    As is, it looks like there is some sort of error occurring with the parsing/decoding of JSON for your current case.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    @companyv Any feedback or followup for my questions and reply above?

    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Constant Contact Plugin not compatible with WordPress 4.8.2?’ is closed to new replies.