PHP Fatal error: Call to undefined function wp_get_current_user()
-
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)
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.