Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

PHP Fatal error: Call to undefined function wp_get_current_user()

$
0
0

Replies: 0

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/windows-10-desinstaller-supprimer-applications-logiciels-bloatwares-pre-installes-avec-windows10debloater.html

If it can help you to fix a problem!


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>