MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT max(type_id) FROM `dpandewww`.`ecs_discount_type` WHERE seller_id = and send_type =5 and use_start_date<1726764753 and use_end_date>= 1726764753 ) [2] => Array ( [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 'and send_type =5 and use_start_date<1726764753 and use_end_date>= 1726764753' at line 1 ) [3] => Array ( [errno] => 1064 ) )