Title: fatal error after mistake
Last modified: November 30, 2016

---

# fatal error after mistake

 *  Resolved [cpishon](https://wordpress.org/support/users/cpishon/)
 * (@cpishon)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-after-mistake/)
 * Hi,
 * I’m teaching a wordpress class to some homeschoolers and one of the students 
   got a little too smart for himself. I think he went and changed the URL in settings
   to a subdomain that didn’t exist.
 * I went ahead and changed the subdomain, and updated DNS to the right name, but
   when I visit the site I get the following:
 * Warning: Unknown: failed to open stream: No such file or directory in Unknown
   on line 0
 * Fatal error: Unknown: Failed opening required ‘/home/wahfre5/public_html/digitaltardis/
   wordfence-waf.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in Unknown
   on line 0
 * I’ve searched the usual wordpress configuration files to see where the call is
   being made but I can’t locate it. Can you help me find which file calls wordfence-
   waf.php so I can update the path to the correct one?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-after-mistake/#post-8499582)
 * Hi,
    I suggest checking “.htaccess” file or “.user.ini” depending on your server
   setup and make sure this line is pointing to the “correct” wordfence-waf.php 
   file path: `php_value auto_prepend_file 'path_to/wordfence-waf.php'`
 * You could also [remove the firewall files manually](https://docs.wordfence.com/en/Web_Application_Firewall_FAQ#How_can_I_remove_the_firewall_setup_manually.3F),
   then [reconfigure it again](https://docs.wordfence.com/en/Web_Application_Firewall_Setup)
   to resolve this issue.
 * Thanks.
 *  Thread Starter [cpishon](https://wordpress.org/support/users/cpishon/)
 * (@cpishon)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-after-mistake/#post-8499741)
 * Thank you! That did it. Now time to go over why this happened so they learn not
   to do it again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘fatal error after mistake’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [dns](https://wordpress.org/support/topic-tag/dns/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [cpishon](https://wordpress.org/support/users/cpishon/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-after-mistake/#post-8499741)
 * Status: resolved