Hello,
The plugin should work on PHP 8.2. Did you try to re-install it?
https://cleantalk.org/help/update-wordpress
If this didn’t help, could you send us a full error text?
Tried reinstalling, still getting fatal error report when I try to activate.
Debug log:
[09-Feb-2024 21:32:56 UTC] PHP Fatal error: Uncaught Error: Undefined constant “Cleantalk\ApbctWP\CURLOPT_USERAGENT” in /var/www/lwad.co.uk/public_html/LWAD/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/Helper.php:43
Stack trace: 0 /var/www/lwad.co.uk/public_html/LWAD/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-pluggable.php(1360): Cleantalk\ApbctWP\Helper::httpRequest() 1 /var/www/lwad.co.uk/public_html/LWAD/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/Activator.php(15): apbct_settings__get_ajax_type() 2 /var/www/lwad.co.uk/public_html/LWAD/wp-content/plugins/cleantalk-spam-protect/cleantalk.php(735): Cleantalk\ApbctWP\Activator::activation() 3 /var/www/lwad.co.uk/public_html/LWAD/wp-includes/class-wp-hook.php(324): apbct_activation() 4 /var/www/lwad.co.uk/public_html/LWAD/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /var/www/lwad.co.uk/public_html/LWAD/wp-includes/plugin.php(517): WP_Hook->do_action() 6 /var/www/lwad.co.uk/public_html/LWAD/wp-admin/includes/plugin.php(693): do_action() 7 /var/www/lwad.co.uk/public_html/LWAD/wp-admin/plugins.php(58): activate_plugin() 8 {main}
thrown in /var/www/lwad.co.uk/public_html/LWAD/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/Helper.php on line 43
Hello @retr8bit,
Seems like the issue is that you do not have the curl library itself installed even though the curl is listed in php. Here is a one-to-one example and recommendations: https://github.com/yiisoft/yii2/issues/8664.
You need to install php curl module.
example how to install for debian: apt-get install php7.2-curlfor windows You need find(download) lib file “php-curl.dll” and add it to php extension directory, and then edit php.ini to activete it module: extension=php_curl.dll
An article on how to install curl on ubuntu: https://websolutionstuff.com/post/how-to-install-php-curl-extension-in-ubuntu.
If this is difficult for you, you can ask your hosting provider for help.
Thank you.
Hello.
We haven’t heard back from you in a few days, so I’m going to mark this topic as “resolved”.
If you need further support, you can start a new topic or contact us via our private Ticket System: https://cleantalk.org/my/support/open.