0 votes
75 views
by (1.2k points)

Recently I have migrated my site from one website to another. But, I am facing following error issue. Please guide me.

Fatal error: Unknown: Failed opening required '/srv/users/apps/example/public/wordfence-waf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

 

1 Answer

0 votes
by (9.6k points)

Yea, this error belongs to incomplete uninstalling of Wordfence Security plugin. Because due to some file restriction Wordfence can't remove or alter that file. That's why you are seeing this error.

  1. Go to WordPress root folder
  2. Look for two files .user.ini and .htaccess
  3. Remove following lines if exist,
    ; Wordfence WAF
    auto_prepend_file = '/xx/xx/public_html/wordfence-waf.php'
    ; END Wordfence WAF
  4. Done..!
Welcome to DoubtSolver Q&A, where you can ask doubts and receive solutions from other members of the community.

Categories

...