• Resolved edz2021

    (@edz2021)


    An unexpected exception occurred during WAF execution: Error: Call to undefined function chmod() in /home/domain/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:442

    When i am trying to active the plugin then my site is not able to work getting above error in my error log file

    • This topic was modified 2 years, 3 months ago by edz2021.
Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @edz2021,

    This sounds like when disable_functions has been used to disable chmod in your php.ini. If you don’t have access to modify this file, it could also be configurable through your hosting control panel.

    If not, I would firstly reach out to your host to find out if chmod is disabled by design, or if they can help you reenable it. It’s sometimes possible to bypass some chmod requirements if you’re using the MySQLi engine for logging in Wordfence, but I’m not certain that resolves all occasions when the function would be required.

    Let us know how you get on,
    Peter.

Viewing 1 replies (of 1 total)

The topic ‘Function chmod() error’ is closed to new replies.