Wordfence PHP error after web host changed site pathway
-
A friend is with a web host that recently changed his sites’ pathways. This resulted in the following PHP error when visitors tried to access his sites:
Warning: Unknown: failed to open stream. No such file or directory in Unknown on line 0 Fatal error: Unknown: Failed opening required '/old-path-here/wordfence-waf.php' (include path='.:/usr/local/lib/php-7.3.2-xenial/lib/php') in Unknown on line 0
His web host support suggested updating the ‘auto_prepend_file’ path in the .USER.INI file to the current pathway.
This seemed to work, and the sites are back on line now.
Is there anything else that should be done, given this unusual set of circumstances?
- The topic ‘Wordfence PHP error after web host changed site pathway’ is closed to new replies.