Fatal error: Uncaught mysqli_sql_exception: 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 akten_active = 1' at line 16 in /home/.sites/22/site322/web/jg27/seiten_akten/akten_main.php:42
Stack trace:
#0 /home/.sites/22/site322/web/jg27/seiten_akten/akten_main.php(42): mysqli_query(Object(mysqli), 'SELECT \n\t\t\ta.*,...')
#1 /home/.sites/22/site322/web/jg27/index_navigation.php(259): include('/home/.sites/22...')
#2 /home/.sites/22/site322/web/jg27/index.php(419): include('/home/.sites/22...')
#3 {main}
thrown in /home/.sites/22/site322/web/jg27/seiten_akten/akten_main.php on line 42