• Resolved lhtkick

    (@lhtkick)


    [04-May-2021 07:22:13 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 898
    [04-May-2021 07:22:13 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 524
    [04-May-2021 07:22:13 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 536
    [04-May-2021 07:22:50 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 416
    [04-May-2021 07:23:11 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 416
    [04-May-2021 07:23:31 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 416
    [04-May-2021 07:23:52 UTC] PHP Warning: sleep() has been disabled for security reasons in /data/home/xyu4398740001/htdocs/wp-content/plugins/wordfence/lib/wfScanEngine.php on line 416

    it apper in error.log

    how to fix it ? tks .

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support wfphil

    (@wfphil)

    Hi @lhtkick

    It appears that your hosting provider has added the sleep PHP function to the disable_functions PHP directive. Your hosting provider may be able to remove that function for you hosting account if you ask them.

    Thread Starter lhtkick

    (@lhtkick)

    if sleep disable will more security,and it looks like not a big error , can i ignore this error?

    Thread Starter lhtkick

    (@lhtkick)

    Plugin Support wfphil

    (@wfphil)

    Hi @lhtkick

    You don’t need to disable the sleep PHP function.

    If you continue to disable it then you won’t be able to use the scan performance option Use low resource scanning (reduces server load by lengthening the scan duration).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warning: sleep() has been disabled for security reasons plugins/wordfence/l’ is closed to new replies.