• Resolved gonzachee

    (@gonzachee)


    Error message here.
    [27-Jun-2024 04:48:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined function json_decode() in /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfConfig.php:578
    Stack trace: 0 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfUtils.php(964): wfConfig::getJSON(‘ipResolutionLis…’, Array) 1 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfUtils.php(896): wfUtils::unifiedTrustedProxies() 2 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfUtils.php(1147): wfUtils::getCleanIPAndServerVar(Array, NULL) 3 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfUtils.php(1078): wfUtils::getIPAndServerVariable() 4 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfLog.php(113): wfUtils::getIP() 5 /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(1168): wfLog->initLogRequest() 6 /home/lchcorpc/public_html/wp-content/plugins/wordfence/wordfence.php(126): wordfence::install_actions() 7 /home/lchcorpc/public_html/wp-settings.php(517): include_once(‘/home/ in /home/lchcorpc/public_html/wp-content/plugins/wordfence/lib/wfConfig.php on line 578

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @gonzachee,

    I haven’t seen this error message for a number of years since WordPress 5.3 removed the JSON polyfill functions. See if you can check on the WordPress built-in Tools > Site Health and see if it says you’re missing the JSON extension from PHP there.

    If so, you can usually fix this via your hosting control panel in many cases (you can pick which PHP libraries/modules you have in the same area you normally choose your PHP version), but it may sometimes be necessary to contact your hosting provider.

    Let us know how you get on!
    Peter.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.