1064 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 ','2018-07-19 10:50:05','2018-08-04 18:00:00')' at line...