Title: Fluent SMTP causing an error in debug mode
Last modified: October 24, 2021

---

# Fluent SMTP causing an error in debug mode

 *  Resolved [Dmitry Bychenko](https://wordpress.org/support/users/wpbluefox/)
 * (@wpbluefox)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/fluent-smtp-causing-an-error-in-debug-mode/)
 * Hello, Fluent SMTP,
    First of all thank you for your great product!
 * I ran debug mode on my site and found out Fluent SmTP causing en error.
 * The error looks like this:
 * `[22-Oct-2021 23:56:24 UTC] База данных WordPress возвратила ошибку You have 
   an error in your SQL syntax; check the manual that corresponds to your MySQL 
   server version for the right syntax to use near ''*****_fsmpt_email_logs' WHERE`
   created_at`< '2021-09-23 02:56:24'' at line 1 в ответ на запрос DELETE FROM '*****
   _fsmpt_email_logs' WHERE`created_at`< '2021-09-23 02:56:24', выполненный do_action_ref_array('
   fluentmail_do_daily_scheduled_tasks'), WP_Hook->do_action, WP_Hook->apply_filters,
   call_user_func_array, FluentMail\App\Hooks\Handlers\SchedulerHandler->handleScheduledJobs,
   FluentMail\App\Hooks\Handlers\SchedulerHandler->deleteOldEmails, FluentMail\App\
   Models\Logger->deleteLogsOlderThan`
 * This error happens averagely 1 time in a day around midnight.
 * What could be the reason?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WPManageNinja](https://wordpress.org/support/users/wpmanageninja/)
 * (@wpmanageninja)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/fluent-smtp-causing-an-error-in-debug-mode/#post-15000777)
 * We have fixed the issue in the latest version.

Viewing 1 replies (of 1 total)

The topic ‘Fluent SMTP causing an error in debug mode’ is closed to new replies.

 * ![](https://ps.w.org/fluent-smtp/assets/icon.svg?rev=2458343)
 * [FluentSMTP - WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider](https://wordpress.org/plugins/fluent-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fluent-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fluent-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/fluent-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fluent-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fluent-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WPManageNinja](https://wordpress.org/support/users/wpmanageninja/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/fluent-smtp-causing-an-error-in-debug-mode/#post-15000777)
 * Status: resolved