Problem/Motivation
Drupal 8.9.16
PHP 7.3.28
All update.php OK, cleared caches
Error after entering key and trying to "Save Configuration":
Warning: preg_match() expects parameter 2 to be string, array given in Cleantalk\Common\Helper::http__request__rc_to_host() (line 1323 of modules/cleantalk/src/lib/Cleantalk/Common/Helper.php).
Cleantalk\Common\Helper::http__request__rc_to_host('sfw_update', Array, Array) (Line: 249)
Cleantalk\Common\Firewall\FirewallUpdater->update() (Line: 675)
Drupal\cleantalk\CleantalkFuncs::apbct_sfw_update('gazy8a9utuju') (Line: 81)
Drupal\cleantalk\Form\CleantalkSettingsForm->validateForm(Array, Object)
call_user_func_array(Array, Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 273)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'cleantalk_settings_form') (Line: 118)
Drupal\Core\Form\FormValidator->validateForm('cleantalk_settings_form', Array, Object) (Line: 589)
Drupal\Core\Form\FormBuilder->processForm('cleantalk_settings_form', Array, Object) (Line: 321).... etc.
Any ideas? It works on my local WAMP setup, but not on the production server
Thx
Comments
Comment #2
znaeff commentedHello,
Our developers will check the code. We will contact you within 1-2 business days.
Comment #3
znaeff commentedHello.
We've fixed the issue. All the fixes have been downloaded to Drupal repository.
Also, could you please check if CURL is enabled on your web server?
Comment #4
cbeem commentedIt's a public cPanel, I'm not sure how to check for CURL?
Comment #5
cbeem commentedShould I be installing Clean Talk 9.1.11?
Comment #6
cbeem commentedI updated to 9.1.11, still the same error. i presume to do with cURL? I've asked the host to install it.
Am I safe to assume that Clean Talk is actually installed and working?
Thanks :)
Comment #7
cbeem commentedI loaded up a phpinfo page on the server:
cURL support enabled
cURL Information 7.77.0
So yes, cURL is already supported and enabled
Comment #8
cbeem commentedI have updated to PHP 7.4.21. the error on the config screen still persists.
But I just received an Anti Spam Report email from Clean Talk which includes the domain, so I am assuming it is working OK.
Comment #9
serge-m commentedThank you for your feedback.
I've added it to the task. The programmer staff will look into the issue in up to 48 hours.
Please, wait.
Comment #10
serge-m commentedThank you for waiting.
Further troubleshooting requires some of your personal data.
Please, copy-paste your question here in our private Ticket System:
https://cleantalk.org/my/support/open
Comment #11
aganz commentedI can verify the issue. New Drupal install. Disappears after cache clear.
Comment #12
znaeff commented