Arta MySQL

/data/www/admin.immo1.hu/htdocs/_engine/arta/libs/database/MySQLi/Abstract.php:652
/data/www/admin.immo1.hu/htdocs/_engine/arta/libs/database/MySQLi/Abstract.php:314
/data/www/admin.immo1.hu/htdocs/_engine/arta/libs/database/MySQLi/Abstract.php:263
/data/www/admin.immo1.hu/htdocs/views/Desktop.php:124
/data/www/admin.immo1.hu/htdocs/views/Desktop.php:956
/data/www/admin.immo1.hu/htdocs/_engine/arta/Arta.php:446
/data/www/admin.immo1.hu/htdocs/start.php:31
1064 MySQL 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 'AND start <= '2025-04-05 00:32:21' AND deadline >= '2025-04-05 00:32:21' ORDE' at line 1
SELECT start, U.name as name, deadline FROM v_todos T INNER JOIN v_users U ON U.id = T.user_id WHERE todotype_id = 21 AND U.useroffice_id = AND start <= '2025-04-05 00:32:21' AND deadline >= '2025-04-05 00:32:21' ORDER BY start