Fatal error: Failed opening required ‘/home/…/wordfence-waf.php
-
Hello,
I already checked all similar topics but none of the solutions provided helped me.
I had some issues after restoring a backup with WpVivid and ended up having to reinstall the whole WordPress installation. After it was done, I’m now getting the following error :Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Fatal error: Unknown: Failed opening required '/home/.../wordfence-waf.php' (include_path='.:/opt/alt/php74/usr/share/pear') in Unknown on line 0
However, I don’t have any wordfence-waf.php, my .htaccess doesn’t have anything related to WordFence and I also tried to remove everything from it but it didn’t work. Finally, I don’t have any .user.ini file.
Surprisingly, the website works when changing PHP version from 7.4 to 8.1, but I need 7.4 for some of my plugins.
I also tried to reinstall WordFence through PHP 8.1 and then switching back to 7.4 but still have the issue. Again, uninstalling WordFence didn’t change anything.
Any idea of how to solve this issue ?
Best regards,
Oshika35
- The topic ‘Fatal error: Failed opening required ‘/home/…/wordfence-waf.php’ is closed to new replies.