• Resolved sifuhall

    (@sifuhall)


    I started getting these error messages:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''LF5hf_fsmpt_email_logs' WHEREcreated_at< '2021-09-18 20:22:02'' at line 1 for query DELETE FROM 'LF5hf_fsmpt_email_logs' WHEREcreated_at< '2021-09-18 20:22:02' made by do_action_ref_array('fluentmail_do_daily_scheduled_tasks'), WP_Hook->do_action, WP_Hook->apply_filters, FluentMail\App\Hooks\Handlers\SchedulerHandler->handleScheduledJobs, FluentMail\App\Hooks\Handlers\SchedulerHandler->deleteOldEmails, FluentMail\App\Models\Logger->deleteLogsOlderThan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I have the same issue. I think is in Logger.php on line 396 an error syntax with created_at the `

    Thank you

    And the right way i think

    $query = $this->db->prepare("DELETE FROM {$this->table} WHERE created_at < %s", $date);

    Same error for me

    include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Cron_Event_Command->run, Cron_Event_Command::run_event, do_action_ref_array('fluentmail_do_daily_scheduled_tasks'), WP_Hook->do_action, WP_Hook->apply_filters, FluentMail\App\Hooks\Handlers\SchedulerHandler->handleScheduledJobs, FluentMail\App\Hooks\Handlers\SchedulerHandler->deleteOldEmails, FluentMail\App\Models\Logger->deleteLogsOlderThan tarafından oluşturulan DELETE FROM 'tkmyuwul_fsmpt_email_logs' WHEREcreated_at< '2021-09-23 18:58:25' sorgusu için WordPress veritabanı hatası You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''tkmyuwul_fsmpt_email_logs' WHEREcreated_at< '2021-09-23 18:58:25'' at line 1

    Plugin Author WPManageNinja

    (@wpmanageninja)

    We have fixed the issue in version 2.1.0

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cron Error’ is closed to new replies.