Title: Fatal Error on update
Last modified: August 30, 2016

---

# Fatal Error on update

 *  Resolved [imeldesign](https://wordpress.org/support/users/imeldesign/)
 * (@imeldesign)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-on-update-3/)
 * Updated plugin cause Server 500 error. Manually deactivated plugin and site returned.
   I tried to reactivate it and got this error:
    Warning: require_once(__DIR__/classes/
   WPDev/Loader.php) [function.require-once]: failed to open stream: No such file
   or directory in /home2/wbcmedia/public_html/wp-content/plugins/wp-mailto-links/
   wp-mailto-links.php on line 19
 * This site has over 65 pages all with protected email with shortcodes. I hate 
   the idea of manually removing them all.
 * Thanks Melanie
 * [https://wordpress.org/plugins/wp-mailto-links/](https://wordpress.org/plugins/wp-mailto-links/)

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

 *  [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * (@freelancephp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-on-update-3/#post-6865029)
 * What version of PHP is installed on the server?
 * You could try to replace `__DIR__` with `dirname(__FILE__)`
 *  Thread Starter [imeldesign](https://wordpress.org/support/users/imeldesign/)
 * (@imeldesign)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-on-update-3/#post-6865041)
 * 5.2.1.7 – First thing I checked before updating I misread the mySql version for
   the PHP version. I went back and checked then I rolled back the plugin to 1.6
   version. I am hoping they will move to a better host shortly. I will check all
   the other sites I manage for their php version before updating.
 * Thanks

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

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

 * ![](https://ps.w.org/wp-mailto-links/assets/icon-256x256.png?rev=2057013)
 * [WP Mailto Links - Protect Email Addresses](https://wordpress.org/plugins/wp-mailto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mailto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mailto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mailto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mailto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mailto-links/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [imeldesign](https://wordpress.org/support/users/imeldesign/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-on-update-3/#post-6865041)
 * Status: resolved