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 'or pd.caDocentenId_Lotus=) and pd.datum='2024-1-1' and p.id=pd.caProjectenId ...' at line 13