• Resolved rogerpence

    (@rogerpence)


    Our got this error today shortly after updating the site to WP 6.2

    An error of type E_ERROR was caused in line 24 of the file /var/www/html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Common/HTTP/Response.php. Error message: Uncaught Error: Cannot use object of type WpOrg\Requests\Response as array in /var/www/html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Common/HTTP/Response.php:24

    The site appears to be running normally and the dashboard shows no issues with the CT plugin.

    Thank you

    rp

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • I am facing the same problem:

    Fatal error: Uncaught Error: Cannot use object of type WpOrg\Requests\Response as array in /home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Common/HTTP/Response.php:24 Stack trace: #0 /home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/HTTP/Request.php(57): Cleantalk\Common\HTTP\Response->__construct(Object(WpOrg\Requests\Response), Array) #1 /home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/HTTP/Request.php(22): Cleantalk\ApbctWP\HTTP\Request->requestSingle() #2 /home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/Helper.php(57): Cleantalk\ApbctWP\HTTP\Request->request() #3 /home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/Helper.php(70): Cleantalk\ApbctWP\Helper::httpRequest(‘https://gatedes…’, Array, ‘get_code get’) #4 in?/home/ch337344/web/gatedestates.asia/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Common/HTTP/Response.php?on line?24

    I also have this problem.

    A wordpress site that had not been updated in a while started reporting a fatal errror from the cleantalk plugin. I tried to update CT but it failed. Updated all other plugins ok, but CT remains fatal. Uninstalled and reinstalled but will not reinstall.

    wp 6.2, CT 6.6

    Plugin Support katereji

    (@katereji)

    Hello @rogerpence, @rokhi, @simonvetterli.

    We are aware of this issue and already working on the fixes. We plan to release a new version within a few hours. Sorry for the inconvenience.

    Meanwhile, you can install the dev version: https://github.com/CleanTalk/wordpress-antispam/releases/download/dev-version/cleantalk-spam-protect.zip. Here is the guide: https://cleantalk.org/help/update-wordpress, Manual update.

    @katereji – thank you for the update. Looking forward to the new version being released to resolve all my broken sites.

    Plugin Support katereji

    (@katereji)

    Hello again @rogerpence, @bsean23, @rokhi, @simonvetterli.

    We have fixed the issue. Please, update the Anti-Spam by CleanTalk plugin to the new 6.7 version:
    https://downloads.www.ads-software.com/plugin/cleantalk-spam-protect.6.7.zip

    The guide is here: https://cleantalk.org/help/update-wordpress

    Cannot login to update updated plugin.

    Error thrown

    Cannot use object of type WpOrg\Requests\Response as array

    Thread Starter rogerpence

    (@rogerpence)

    Thank you @katereji. I just installed 6.7. So far, so good!

    It appears that in order to log in, I have to rename the Cleantalk plugins, both Spam and Security, after logging in , delete both plugins and re-installed / configure in order to restore site to full functionality. I’m not sure exactly what happened but developer testing should have caught this.

    Plugin Support katereji

    (@katereji)

    Hello @lukedouglas

    We didn’t encounter anything similar to your case during testing.

    I’m glad to know the issue has been resolved.

    @katereji

    how do I update the plugin if I can’t log in to wordpress? in the manual, I see the possibility of updating only after authorization

    Plugin Support katereji

    (@katereji)

    Hello @alexweiqi

    You can rename the CleanTalk plugins folders: wp-content\plugins\cleantalk-spam-protect and wp-content\plugins\security-malware-firewall.

    If the issue is related to our plugins this will help to enter the WordPress dashboard.

    I’m glad to know the issue has been resolved.

    Resolved sounds great but not when you have to spend 15-20 minutes each on 70+ websites. ??

    For those facing the same issues, here is a step by step:
    1) Log into your control panel (cPanel, Plesk, etc)
    2) Go to your File Manager
    3) Navigate to wp-content > plugins
    4) Rename cleantalk-spam-protect to bypass-cleantalk-spam-protect
    5) Rename security-malware-firewall to bypass-security-malware-firewall
    6) Log into your website WordPress admin panel
    7) Navigate to Plugins
    8) Delete Anti-Spam by Cleantalk
    9) Delete Security by CleanTalk
    10) Reinstall both plugins and click the ‘Synchronize with Cloud‘ button. On the spam plugin, click ‘Save Changes
    10.a) the database settings for both plugins should be unaffected so synchronizing should be all that is required. If not, then just reconfigure both
    10.b) you might get a warning on the security plugin about “WRONG_SITE_RESPONSE ACTION“. After synchronizing, refresh the page and this should go away
    11) Go back to your control panel File Manager & ensure the two bypass folders are gone. If not, you can safety delete those.

    Enjoy!



    Plugin Support katereji

    (@katereji)

    Thank you for this detailed guide, @lukedouglas!

    I hope this will help others if they face the same issue.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘CleanTalk error after WP 6.2 install’ is closed to new replies.