• The contact form on the site was not sending emails to the admin. I attempted to download the WP SMTP Mailer. When I tried to activate it, I received a fata error: call to undefine function date diff(). I can’t do anything on the admin site. It only displays the error now matter what tab I select. Any suggestions or references to documentation that will help me fix this problem? I am at a loss and don’t know what else to do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    I recommend asking at https://www.ads-software.com/support/plugin/wp-mail-smtp-mailer so the plugin’s developers and support community can help you with this.

    If you need immediate access to the dashboard, try deleting this plugin using FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required).

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What version of PHP is your site using? This function was introduced in PHP 5.3. While WordPress might run on 5.2, it’s not a good idea. You should be using PHP 5.6 or PHP 7.

    OK, so how do you find out?

    On your PC, paste this into a file and name it test.php:

    <?php phpinfo(); ?>

    Upload the file to your server via FTP and then type

    https://example.com/test.php (where example.com is the name of your domain).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error call to undefined function date diff()’ is closed to new replies.