The plugin gives an occasional syntax error when optimising the tables. I haven’t specifically noted how often this happens, but it’s probably the weekly weekly event siteground_optimizer_database_optimization_cron
The error message is as follows.
[12-Oct-2024 05:57:05 UTC] WordPress database error 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 '' at line 1 for query OPTIMIZE TABLE made by do_action_ref_array('wp_database_optimization_cron'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Background_Process->handle_cron_healthcheck, WP_Background_Process->handle, SiteGround_Optimizer\Database_Optimizer\Database_Optimizer_Background->task, call_user_func, SiteGround_Optimizer\Database_Optimizer\Database_Optimizer->optimize_tables
This is on a website hosted on SiteGround and using the Divi theme.
Let me know what I can to do help diagnose this.