• Resolved ricardo06

    (@ricardo06)


    After upgrading to 6.5, with wp 6.1.1 + ocean wp, I have the following error breaking my website. I must desactivate CleanTalk to have a functionnal site, but no protection. Please help !
    Thanks a lot

    Richard

    Fatal error: Uncaught TypeError: Unsupported operand types: int – ArrayObject in /homepages/14/d171065491/htdocs/hello/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php:779 Stack trace: #0 /homepages/14/d171065491/htdocs/hello/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-public.php(619): ct_get_checkjs_value() #1 /homepages/14/d171065491/htdocs/hello/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-public.php(526): ct_add_hidden_fields(‘ct_checkjs’, false, true, true) #2 /homepages/14/d171065491/htdocs/hello/wp-includes/class-wp-hook.php(308): apbct_hook__wp_head__set_cookie__ct_checkjs(”) #3 /homepages/14/d171065491/htdocs/hello/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #4 /homepages/14/d171065491/htdocs/hello/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /homepages/14/d171065491/htdocs/hello/wp-includes/general-template.php(3043): do_action(‘wp_head’) #6 /homepages/14/d171065491/htdocs/hello/wp-content/themes/oceanwp/header.php(15): wp_head() #7 /homepages/14/d171065491/htdocs/hello/wp-includes/template.php(783): require_once(‘/homepages/14/d…’) #8 /homepages/14/d171065491/htdocs/hello/wp-includes/template.php(718): load_template(‘/homepages/14/d…’, true, Array) #9 /homepages/14/d171065491/htdocs/hello/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #10 /homepages/14/d171065491/htdocs/hello/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() #11 /homepages/14/d171065491/htdocs/hello/wp-includes/template-loader.php(106): include(‘/homepages/14/d…’) #12 /homepages/14/d171065491/htdocs/hello/wp-blog-header.php(19): require_once(‘/homepages/14/d…’) #13 /homepages/14/d171065491/htdocs/hello/index.php(17): require(‘/homepages/14/d…’) #14 {main} thrown in /homepages/14/d171065491/htdocs/hello/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php on line 779

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support SergeM

    (@serge00)

    Hello, @ricardo06.

    Please, roll back to the previous version 6.4.1:
    https://downloads.wordpress.org/plugin/cleantalk-spam-protect.6.4.1.zip

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

    Also, could you tell us your PHP version as well?

    Thread Starter ricardo06

    (@ricardo06)

    Hello, thanks a lot for your prompt answer.

    Reverting to 6.4.1 did not change anything but I forgot to mention that
    I had to upgrade to php 8.0 from 7.4. This is because of end of support by my internet supplier on php 7.4. WHen reverting temporarily to 7.4 the Fatal error disappears and my website is on again. So it seems to me that perhaps there is a problem with php 8 and cleantalk plugin ?
    SIncerly
    Richard

    Plugin Support SergeM

    (@serge00)

    The CleanTalk plugin is compatible with PHP 8.0.

    Please, re-install the CleanTalk Anti-Spam Plugin with the Complete Deactivation option:
    • WordPress Admin Page —> Settings —> Anti-Spam by CleanTalk —> Advanced settings —> set the option “Complete Deactivation” to “On” —> Save Changes;
    • WordPress Admin Page —> Plugins —> Installed plugins —> Anti-Spam by CleanTalk —> Deactivate and Delete.

    Then install it anew:
    https://cleantalk.org/help/install-wordpress

    It will solve the issue. Did it help?

    Thread Starter ricardo06

    (@ricardo06)

    Thank you SergeM it worked fine.
    Have a nice Sunday
    Richard

    Plugin Support SergeM

    (@serge00)

    Happy to help, @ricardo06!

    Have a great day as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error after upgrade clen talk to 6.5’ is closed to new replies.