• Resolved DreamOn11

    (@dreamon11)


    Hello,

    For your information, in my site logs, I had the following error:

    2020/04/24 12:25:38 [error] 5192#5192: *1985923 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function wp_get_current_user(
    ) in /srv/www/xxx.net/releases/20200423230032/web/app/plugins/cleantalk-spam-protect/inc/cleantalk-public.php:1169
    Stack trace:
    #0 /srv/www/xxx.net/releases/20200423230032/web/wp/wp-includes/class-wp-hook.php(287): apbct_comment__sanitize_data__before_wp_die('_default_wp_die...')
    #1 /srv/www/xxx.net/releases/20200423230032/web/wp/wp-includes/plugin.php(206): WP_Hook->apply_filters('_default_wp_die...', Array)
    #2 /srv/www/xxx.net/releases/20200423230032/web/wp/wp-includes/functions.php(3345): apply_filters('wp_die_handler', '_default_wp_die...')
    #3 /srv/www/xxx.net/releases/20200423230032/web/app/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWp/FireWall.php(503): wp_die('<!DOCTYPE html>...', '
    Blacklisted', Array)
    #4 /srv/www/xxx.net/releases/20200423230032/web/app/plugins/security-malware-firewall/security-malware-firewall.php(411): CleantalkSP\Spbct" while reading upst
    ream, client: xxx, server: xxx.net, request: "POST /wp/wp-comments-post.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php-fpm-wordpress.sock:", hos
    t: "xxx.net", referrer: "https://xxx.net/xxxx.html"

    If it can help you to fix a problem!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alexandergull

    (@alexandergull)

    Hello.

    I transfer this info to the development group.

    We will contact you soon.

    Be well,

    Hello,

    Thank you for great feedback! We have fixed the problem.

    Please, reinstall the plugin. ( Download link: https://github.com/CleanTalk/wordpress-antispam/releases/download/dev-version/cleantalk-spam-protect.zip )

    Here is an instruction for you:

    1. Go to WordPress Administrator Panel —> Plugins.
    2. Find the plugin “Spam Protection by CleanTalk” —> Deactivate.
    3. After the automatic page refresh find the plugin again “Spam Protection by CleanTalk” —> Delete. Confirm “Yes, delete these files”.
    5. Go to Plugins —> Add New —> Upload Plugin.
    4. Download the plugin archive from the link above.
    6. Choose the downloaded archive and press “Install Now”.

    Contact us if you have any questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: Call to undefined function wp_get_current_user()’ is closed to new replies.