Activating WF gives Fatal Error
-
Hi. When I try to activate WF I get “Plugin could not be activated because it triggered a fatal error.” with the error message below. Same error even if it is the only plugin. Thanks.
– PHP version: 8.0.1
– OS: Linux
– Server software: Apache/2.4.38 (Raspbian)Fatal error: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /var/www/html/wp-content/plugins/wordfence/lib/wfConfig.php:542 Stack trace: #0 /var/www/html/wp-content/plugins/wordfence/lib/wfConfig.php(542): json_decode() #1 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(700): wfConfig::getJSON() #2 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(719): wfUtils::whitelistPresets() #3 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(750): wfUtils::whitelistedServiceIPs() #4 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(776): wfUtils::getIPWhitelist() #5 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(934): wfUtils::isPrivateAddress() #6 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(1117): wfUtils::getCleanIPAndServerVar() #7 /var/www/html/wp-content/plugins/wordfence/lib/wfUtils.php(1048): wfUtils::getIPAndServerVariable() #8 /var/www/html/wp-content/plugins/wordfence/lib/wfLog.php(114): wfUtils::getIP() #9 /var/www/html/wp-content/plugins/wordfence/lib/wordfenceClass.php(1140): wfLog->initLogRequest() #10 /var/www/html/wp-content/plugins/wordfence/wordfence.php(95): wordfence::install_actions() #11 /var/www/html/wp-admin/includes/plugin.php(2299): include(‘…’) #12 /var/www/html/wp-admin/plugins.php(191): plugin_sandbox_scrape() #13 {main} thrown in /var/www/html/wp-content/plugins/wordfence/lib/wfConfig.php on line 542
- The topic ‘Activating WF gives Fatal Error’ is closed to new replies.