Title: Fatal error: call to undefined function date diff ()
Last modified: April 21, 2017

---

# Fatal error: call to undefined function date diff ()

 *  [mnastal](https://wordpress.org/support/users/mnastal/)
 * (@mnastal)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-date-diff-2/)
 * I downloaded and attempted to activate the WP SMTP Mailer. Now I am receiving
   this fatal error Fatal Error: Call to undefined function date diff (), and I 
   can’t do anything on the dashboard in WordPress. I can’t deactivate it or anything.
   How do I get rid of the plugin? It displays the error on every page.

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

 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-date-diff-2/#post-9054456)
 * I think, your php version is less than 5.6 please upgrade php to 5.6
 *  Plugin Author [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * (@arshidkv12)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-date-diff-2/#post-9054463)
 * Just go to wp-content > plugins folder by FTP or file manager then you can delete
   or rename plugin folder.

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

The topic ‘Fatal error: call to undefined function date diff ()’ is closed to new
replies.

 * ![](https://ps.w.org/wp-mail-smtp-mailer/assets/icon-256x256.png?rev=1531409)
 * [WP SMTP Mailer - SMTP7](https://wordpress.org/plugins/wp-mail-smtp-mailer/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp-mailer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp-mailer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp-mailer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp-mailer/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Arshid](https://wordpress.org/support/users/arshidkv12/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-date-diff-2/#post-9054463)
 * Status: not resolved