• Resolved bigguavamarketing

    (@bigguavamarketing)


    We’re trying to add the Constant Contact Forms plugin to a WordPress site. It installed and connected with no issue; however upon trying to add a form, we get the following error:
    ————-
    PHP Fatal error: Uncaught exception ‘GuzzleHttp\Ring\Exception\RingException’ with message ‘cURL error 60: See https://curl.haxx.se/libcurl/c/libcurl-errors.html’ in C:\WebSites\Corridoraero\blog\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlFactory.php:127
    Stack trace:
    #0 C:\WebSites\Corridoraero\blog\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlFactory.php(91): GuzzleHttp\Ring\Client\CurlFactory::createErrorResponse(Object(GuzzleHttp\Ring\Client\CurlMultiHandler), Array, Array)
    #1 C:\WebSites\Corridoraero\blog\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlMultiHandler.php(244): GuzzleHttp\Ring\Client\CurlFactory::createResponse(Object(GuzzleHttp\Ring\Client\CurlMultiHandler), Array, Array, Array, Resource id #372)
    #2 C:\WebSites\Corridoraero\blog\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlMultiHandler.php(136): G in C:\WebSites\Corridoraero\blog\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\guzzle\src\Exception\RequestException.php on line 51
    ————-
    We’re running WordPress version 4.7. Is the issue with version compatiblity?

    Thanks,
    Shari

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

    (@tw2113)

    The BenchPresser

    Hi Shari,

    From what I can tell, it’s not a WordPress 4.7 compatibility, but more a cURL and SSL/HTTPS issue. If I’m reading things correctly, this is the related error:

    CURLE_SSL_CACERT (60)
    
    Peer certificate cannot be authenticated with known CA certificates. 
    

    Not sure how much of a developer/coder you are, but it’d require some changes regarding the server environment.

    Possibly relevant: https://www.zen-cart.com/showthread.php?213892-Windows-server-Curl-error-(60)-SSL-Certificate-problem-Unable-to-get-local-issuer

    Plugin Author Constant Contact

    (@constantcontact)

    Any changes with this one Shari?

    Same error here =/

    Fatal error: Uncaught GuzzleHttp\Ring\Exception\RingException: cURL error 60: SSL certificate problem: self signed certificate in certificate chain in C:\inetpub\copyexpress.ca\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlFactory.php:127 Stack trace: #0 C:\inetpub\copyexpress.ca\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlFactory.php(91): GuzzleHttp\Ring\Client\CurlFactory::createErrorResponse(Array, Array, Array) #1 C:\inetpub\copyexpress.ca\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 #136) #2 C:\inetpub\copyexpress.ca\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\ringphp\src\Client\CurlHandler.php(68): GuzzleHttp\Ring\Client\CurlHandler->_invokeAsArray(Array) #3 C:\inetpub\copyexpress.ca\wp-content\plugins\constant-contact- in C:\inetpub\copyexpress.ca\wp-content\plugins\constant-contact-forms\vendor\constantcontact\guzzlehttp\guzzle\src\Exception\RequestException.php on line 51

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Gabriel my answer for you would essentially be the same as my answer above. To me it still feels like an issue with cURL and the certificate more than the plugin here.

    Thread Starter bigguavamarketing

    (@bigguavamarketing)

    Not yet. I’ve turned it over to my IT team, and they’re working on it.

    Thread Starter bigguavamarketing

    (@bigguavamarketing)

    My IT guy says that the link provided was dead on. He said it’s also important to choose an easily accessible (for the executable) directory to place the CA file and ignore the “update for windows users” download at the bottom—it’s outdated, and the actual cURL site has one from November that works just fine.

    Our plugin is working perfectly now. Thank you!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Huzzah! ??

    Plugin Author Constant Contact

    (@constantcontact)

    Marking as resolved as the previous posted solutions seem to be working.

    Note: The instructions tell us to replace (within php.ini)
    ; curl.cainfo =
    with
    curl.cainfo = "C:\PHP\Extras\SSL\cacert.pem" (or wherever you saved your cacert.pem file)

    My php.ini file did not contain
    ; curl.cainfo =
    so I added the following to the bottom of my php.ini file, which got it to work:

    [curl]
    ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; absolute path.
    curl.cainfo = "C:\xampp\php\extras\ssl\cacert.pem"

    That got things working!

    Make sure to change the path to the .pem file as well if it’s different.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WordPress 4.7 Compatibility’ is closed to new replies.