Title: Fatal error require()
Last modified: September 26, 2016

---

# Fatal error require()

 *  [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * (@onisforos)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/)
 * When the EWWW Image Optimizer plugin is activated the uploading fails along with
   the following message in the error log.
 * “PHP message: PHP Fatal error: require(): Failed opening required ‘/var/www/site.
   com/wp-content/plugins/w3-total-cache/.php’ failed to open stream: No such file
   or directory in /var/www/site.com/wp-content/plugins/w3-total-cache/w3-total-
   cache-api.php on line 161”

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

 *  [francescobagnoli](https://wordpress.org/support/users/francescobagnoli/)
 * (@francescobagnoli)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8220741)
 * in wp-config set WP_DEBUG to true
    `define('WP_DEBUG', true);` and post here 
   the result
 *  [kamclub](https://wordpress.org/support/users/kamclub/)
 * (@kamclub)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8220840)
 * Hello
    I get very similar error on my new website after W3 Total Cache plug-in
   upgrade:
 * Warning: require(/nfsmnt/hosting1_1/0/f/0ff097d1-582c-4c8a-8cd3-3e96ceeb312a/
   klubaktivnehomyslenia.sk/web/wp-content/plugins/w3-total-cache/lib/Google/Service/
   Calendar.php): failed to open stream: No such file or directory in /nfsmnt/hosting1_1/
   0/f/0ff097d1-582c-4c8a-8cd3-3e96ceeb312a/klubaktivnehomyslenia.sk/web/wp-content/
   plugins/w3-total-cache/w3-total-cache-api.php on line 143
 * Fatal error: require(): Failed opening required ‘/nfsmnt/hosting1_1/0/f/0ff097d1-
   582c-4c8a-8cd3-3e96ceeb312a/klubaktivnehomyslenia.sk/web/wp-content/plugins/w3-
   total-cache/lib/Google/Service/Calendar.php’ (include_path=’.:/usr/php55/lib/
   php’) in /nfsmnt/hosting1_1/0/f/0ff097d1-582c-4c8a-8cd3-3e96ceeb312a/klubaktivnehomyslenia.
   sk/web/wp-content/plugins/w3-total-cache/w3-total-cache-api.php on line 143
 * [http://www.klubaktivnehomyslenia.sk](http://www.klubaktivnehomyslenia.sk)
 * Thanks a lot for support
 *  Thread Starter [Onisiforos](https://wordpress.org/support/users/onisforos/)
 * (@onisforos)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8221013)
 * Here is the paste bin to the error log
 * [http://pastebin.com/t25jyqvd](http://pastebin.com/t25jyqvd)
 *  [eriksmakman](https://wordpress.org/support/users/eriksmakman/)
 * (@eriksmakman)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8221331)
 * I have a similar message (at least that’s how it seems to me):
 * Fatal error: require(): Failed opening required ‘/public/sites/www.mare-advies.
   nl/wp-content/plugins/w3-total-cache/.php’ (include_path=’.:/usr/share/php:/usr/
   share/pear’) in /public/sites/www.mare-advies.nl/wp-content/plugins/w3-total-
   cache/w3-total-cache-api.php on line 161
 * (there is also a warning before it, but it has the same text)
 * and now my website is down and I can’t access the dashboard. Any suggestions?
 * Thanks a lot!
 *  [Stelios](https://wordpress.org/support/users/djstelios/)
 * (@djstelios)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8221467)
 * Same here with an other file
    Failed opening required ‘(…)/wp-content/plugins/
   w3-total-cache/lib/Google/Service/Analytics.php’

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

The topic ‘Fatal error require()’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Stelios](https://wordpress.org/support/users/djstelios/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-require-2/#post-8221467)
 * Status: not resolved