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 'ORDER BY semType2_ID ASC' at line 1Stack trace:#0 /home/dimatoo1/public_html/jakoblexikon.ch/lib/DB.class.php(50): mysqli_query() #1 /home/dimatoo1/public_html/jakoblexikon.ch/lib/DB.class.php(557): DB->do_query() #2 /home/dimatoo1/public_html/jakoblexikon.ch/autojakob2/projectlexiconedit.php(192): DB->get_TypeType_by_ID() #3 /home/dimatoo1/public_html/jakoblexikon.ch/autojakob2/index.php(132): printContent() #4 {main}