Constant Contact plugin issues
-
For the past 3 weeks the constant contact plugin has been disconnecting every night and I have to manually reconnect it. I have tried reinstalling the plugin several times with no success. I have enabled the logs but there are no specific errors in them. I have just tried using a different CC users credentials to get a new access code to see if that helps. Any other suggestions would be appreciated.
-
Hi all, I’ve been experiencing regular disconnections too, ever since my site was upgraded to WordPress v7.0, running on PHP 8.1. I’ve Constant Contact Version 2.19 installed.
A few times after copying and pasting a new CC key, I kept getting the WordPress critical error screen.
I turned on debug mode in wp-config to write to the debug.log file and noticed the following:
PHP Warning: Undefined array key “contact_id” in /wp-content/plugins/constant-contact-forms/includes/class-api.php on line 926
PHP Fatal error: Uncaught TypeError: ConstantContact_Client::get_contact(): Argument #1 ($contact_id) must be of type string, null given, called in /wp-content/plugins/constant-contact-forms/includes/class-api.php on line 926 and defined in /wp-content/plugins/constant-contact-forms/includes/class-client.php:89
Not sure if this is relevant but it might help shed some light on the disconnections issue.
I cleared the ctct_missed_api_requests row in the wp_options table to prevent the critical issue.
However the disconnections still continue. If you can continue to look this that would be great, thanks.
@eddie8181 Biggest change to keep an eye on would be details in my comment at https://ww.wp.xz.cn/support/topic/constant-contact-plugin-issues/#post-18934483 which is all new for this week.
Regarding the error you experienced, it seems that an API POST request failed to either create or update a submitted contact. May or may not be related to API access details, but an error I see we should be able to prevent from occurring as well, so adding an internal ticket to help prevent that.
@eddie8181 do you have a timestamp for that error? also what account is connected for it? That error is a bit of a potential odd/rare one and we’re wanting to double check on some things on the API end.
Thanks.
Hi Michael, thanks for the quick response.
Sure, so here are the entries from from the plugin log. The plugin disconnected a few days beforehand, so I manually reconnected it at 2026-6-09, 08:33.
[2026-6-07, 19:07] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-08, 21:37] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-09, 08:33] Refresh Token:.INFO: Refresh token triggered [] []
[2026-6-09, 08:33] Refresh Token: .INFO: Old Refresh Token: e9pVMVK5*** [] []
[2026-6-09, 08:33] Access Token: .INFO: Old Access Token: eyJraWQi*** [] []
[2026-6-09, 08:33] Refresh Token: .INFO: Refresh token successfully received [] []
[2026-6-09, 08:33] Refresh Token: .INFO: New Refresh Token: _hSGQNlD*** [] []
[2026-6-09, 08:33] Access Token: .INFO: New Access Token: eyJraWQi*** [] []
[2026-6-09, 08:33] Expiration time:.INFO: Current time: 2026-6-09, 09:33 Estimated expiration time: 2026-6-10, 09:33 [] []
As soon as I did that, I got the PHP errors I mentioned above in the backend, both timestamped [09-Jun-2026 08:33:43 UTC] in the WordPress logs.
I’ll email my CC account details to you at the [email protected] email address.
ThanksConfirming received the email reachout.
The beta version plugin disconnected after being up about a day and a half. So I am downgrading again to 2.18. If there is another beta you’d like me to try I am happy to. I will let you know if 2.18 stays connected.
Hi @jmoss66
Can you provide the latest logs for the plugin?
We have one other person who’s had theirs going for a few days now and still going strong by the looks of it, so that’s definitely sounding promising overall.
Here is the latest log. It disconnected Friday evening and I haven’t been able to reconnect yet because I’m waiting for the login code from the account owner
[2026-6-09, 13:35] API.INFO: Submitted contact data ["Extra information",[{"first_name___67281f13970cdb5004f661a71a14ad20":{"key":"first_name","val":"Lizzy"},"last_name___71c1b9c0961e0f7a4174c373329e6d5f":{"key":"last_name","val":"Simmons"},"email___30c05bd7fc699437454c374fa5b9eacb":{"key":"email","val":"@gmail.com"},"email":"@gmail.com","lists___d3b0bce7b8f8412a9b0c9f973bd87a30":{"key":"lists","val":""},"list":["8f184da0-1b38-11e3-800c-d4ae52844390"],"anniversary":{"key":"anniversary","val":""}}]] []
[2026-6-10, 12:10] Refresh Token:.INFO: Refresh token triggered [] []
[2026-6-10, 12:11] Refresh Token: .INFO: Old Refresh Token: lSQwrgw6* [] [] [2026-6-10, 12:11] Access Token: .INFO: Old Access Token: eyJraWQi* [] []
[2026-6-10, 12:11] Refresh Token: .INFO: Refresh token successfully received [] []
[2026-6-10, 12:11] Refresh Token: .INFO: New Refresh Token: Qvu7qJM_* [] [] [2026-6-10, 12:11] Access Token: .INFO: New Access Token: eyJraWQi* [] []
[2026-6-10, 12:11] Expiration time:.INFO: Current time: 2026-6-10, 06:11 Estimated expiration time: 2026-6-11, 06:11 [] []
[2026-6-10, 20:31] API.INFO: Submitted contact data ["Extra information",[{"first_name___67281f13970cdb5004f661a71a14ad20":{"key":"first_name","val":"DennisCem"},"last_name___71c1b9c0961e0f7a4174c373329e6d5f":{"key":"last_name","val":"DennisCem"},"email___30c05bd7fc699437454c374fa5b9eacb":{"key":"email","val":"@web.de"},"email":"@web.de","lists___d3b0bce7b8f8412a9b0c9f973bd87a30":{"key":"lists","val":""},"recaptcha-v3-token":{"key":"recaptcha-v3-token","val":"0cAFcWeA4L102nYsEDd27I4jim7_9R_lqETYJbnzHfnH6s7X0fbsrRZpeNeEEIXFm7pvt0-jGqXC2N6DvBLR3eG1dRwkHjSirvtNFfR09dKTo5t6899PJjT4yYsDHMa8MosB0bs3HkwTLzv2ejGluYP-6XhNj1F41p-KPMv4qtRlQoSSs2MuP-qdIe3BiJC_L7kM2JNnOaz_YoK6a5YouAIMXmBQHqYp9YVZSsnJ60b3Wz9t2WsuDykBr4BBrYZ7qZbYxYItAo4475YMIad70ObpVtCAcdu3pVOsHrQhKNXRyZs9sN_9D7OKyiMqWbOeyMPK7rtxafJWj18ZI_E9EeLeWHHw3LdgeMj5qNfYkW0_7K4JZRMulhtjtF4PY-zTsEhiuf_TXMm-R_MRRF27IYx7D1xVBzeT9AwzF7Z5ms-voU4uP4CoNmWp-N-LkxPVyrB4BRoli-GTGkyentgSDmjY21fTkGGr60nSxGJ1NtKqyUYljNgbfk7tFU7eAsixcNeFrNhlNJbyRQQ23DXC9c_aBRmsBGk0mNMmLnrTqrMyI9tdIq9B3Gu-4jrGRRSpJGRqKFLFMPrtPjMubliDzk4yYxhD3JvewDu7z3Nfix0MHA5ddy27RUAsRAdg4ckMQvbV4oYK0KDa9nRkapiBzYBSvo7cXQMHAAbdvo6ymmgnI13WAZs5xHwJeLxhCNcxjvCtbusO4IZK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bEpnNbpAknm9B2oKOZCTud46E4QgY45X0W7tpJ5iJ5aEY6mNok3zpuCau-5aUXyes8Ok5G-gGd4o_Mo1fB3ZoxXXTd5OsyNvX9sJJic6RjdONF8jgm6jBTcPQW4JcCmGV2mLqLHdWs69FScIK6ZLIMLUrQnFixrEEYCGyFIYnn64FlFDLOEUtM1TEY5gCMYbTXlF5GY-UfnQxwwPldHns-TlNvyArcdo9nPR8d8oQMng7qFZQKwitmUiG1VxLE1dmQTfE5__FWGYqDC0jCOEGKyaq6-iXZSPt5H_4RrvycZgBphgFdjqTU"},"list":["8f184da0-1b38-11e3-800c-d4ae52844390"],"anniversary":{"key":"anniversary","val":""}}]] []
[2026-6-11, 02:03] API.INFO: Submitted contact data ["Extra information",[{"first_name___67281f13970cdb5004f661a71a14ad20":{"key":"first_name","val":"Viviette"},"last_name___71c1b9c0961e0f7a4174c373329e6d5f":{"key":"last_name","val":"Hunt"},"email___30c05bd7fc699437454c374fa5b9eacb":{"key":"email","val":"@yahoo.com"},"email":"@yahoo.com","lists___d3b0bce7b8f8412a9b0c9f973bd87a30":{"key":"lists","val":""},"list":["8f184da0-1b38-11e3-800c-d4ae52844390"],"anniversary":{"key":"anniversary","val":""}}]] []
[2026-6-11, 11:13] Refresh Token:.INFO: Refresh token triggered [] []
[2026-6-11, 11:13] Refresh Token: .INFO: Old Refresh Token: Qvu7qJM_* [] [] [2026-6-11, 11:13] Access Token: .INFO: Old Access Token: eyJraWQi* [] []
[2026-6-11, 11:13] Refresh Token: .INFO: Refresh token successfully received [] []
[2026-6-11, 11:13] Refresh Token: .INFO: New Refresh Token: wnkjL6un* [] [] [2026-6-11, 11:13] Access Token: .INFO: New Access Token: eyJraWQi* [] []
[2026-6-11, 11:13] Expiration time:.INFO: Current time: 2026-6-11, 05:13 Estimated expiration time: 2026-6-12, 05:13 [] []
[2026-6-12, 13:07] Refresh Token:.INFO: Refresh token triggered [] []
[2026-6-12, 13:07] Refresh Token: .INFO: Old Refresh Token: wnkjL6un* [] [] [2026-6-12, 13:07] Access Token: .INFO: Old Access Token: eyJraWQi* [] []
[2026-6-12, 13:07] Refresh Token: .INFO: Refresh token successfully received [] []
[2026-6-12, 13:07] Refresh Token: .INFO: New Refresh Token: dZWzZG_i* [] [] [2026-6-12, 13:07] Access Token: .INFO: New Access Token: eyJraWQi* [] []
[2026-6-12, 13:07] Expiration time:.INFO: Current time: 2026-6-12, 07:07 Estimated expiration time: 2026-6-13, 07:07 [] []
[2026-6-13, 04:31] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-13, 15:40] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-14, 01:06] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-14, 14:33] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-14, 22:45] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []
[2026-6-15, 05:52] API.INFO: A failed API attempt was caught and will be retried after reconnection. [] []Thanks.
From the expiration line to the “A failed API attempt…” line has me feeling like we’re not reaching some spots, which is for us to review.
Michael,
Would you prefer for me to continue running the 2.19 beta or revert to 2.18?
For the sake of some more thorough testing/confirmation hopes, the beta would be preferred.
Especially with the only changes involved with it is largely removal of WP Cron integration that was contributing to the race conditions
Ok, I’ve got the beta running and will let you know if it disconnects again
Appreciate the willingness to help here.
After one day and 21 hours it disconnected again.
Able to provide the current logs from the last few days?
You must be logged in to reply to this topic.