Title: Fatal Error Warning
Last modified: July 17, 2019

---

# Fatal Error Warning

 *  Resolved [graffig](https://wordpress.org/support/users/graffig/)
 * (@graffig)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-warning-5/)
 * Good morning Jared and team,
 * When you get a chance, I was wondering if you could point me in the right direction
   as to how to sort out the following error message I’m receiving when trying to
   reactivate the plugin – see here:
 * Plugin could not be activated because it triggered a fatal error.
 * Warning: require_once(/var/www/wp-content/plugins/wp-mail-smtp/wp-mail-smtp.php):
   failed to open stream: No such file or directory in /var/www/wp-content/plugins/
   wp-mail-smtp/wp_mail_smtp.php on line 150
 * Fatal error: require_once(): Failed opening required ‘/var/www/wp-content/plugins/
   wp-mail-smtp/wp-mail-smtp.php’ (include_path=’.:/opt/remi/php71/root/usr/share/
   pear:/opt/remi/php71/root/usr/share/php:/usr/share/pear:/usr/share/php’) in /
   var/www/wp-content/plugins/wp-mail-smtp/wp_mail_smtp.php on line 150
 * Bit of a strange one, as all was well with the site, with no issues – then I 
   got an email in saying the plugin was causing issues with this particular site.
   All seems to be working on my other sites that use the add on as far as I can
   tell.
 * Many thanks in advance for any guidance,
 * Darron

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

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-warning-5/#post-11747046)
 * Hi Darron,
 * I apologize but it seems your WordPress installation is unable to open and load
   the required files. This is usually caused due to the file and directory permission.
   Please follow this [tutorial](https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-failed-to-open-stream-error/)
   to fix the issue.
 * I hope this helps!
 *  Thread Starter [graffig](https://wordpress.org/support/users/graffig/)
 * (@graffig)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-warning-5/#post-11747098)
 * Morning Sanjeev,
    Many thanks for getting back to me concerning the issue.
 * I’ll take a look at the tutorial link you’ve kindly supplied and hopefully, that
   will sort the issue.
 * Kind regards,
 * Darron
 *  Thread Starter [graffig](https://wordpress.org/support/users/graffig/)
 * (@graffig)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-warning-5/#post-11747101)
 * Many thanks

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

The topic ‘Fatal Error Warning’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [graffig](https://wordpress.org/support/users/graffig/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-warning-5/#post-11747101)
 * Status: resolved