Fatal error: Uncaught Exception: 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 doRedirect = 0 ORDER BY createdDate DESC, id DESC' at line 1
------------------------
SELECT * FROM `seo_urls` WHERE directUrl IN ('index.php?con_lang=1', 'index.php?con_lang=2') AND con_lang = AND doRedirect = 0 ORDER BY createdDate DESC, id DESC
in /home/wilxfblk/www.wilbers.de/tools/con_sql.php:23
Stack trace:
#0 /home/wilxfblk/www.wilbers.de/classes/class.dbrelation.php(137): con_sql('SELECT * FROM `...')
#1 /home/wilxfblk/www.wilbers.de/classes/class.rewriter.php(660): dbrelation->fetchBy(Array, 'AND', 'createdDate DES...')
#2 /home/wilxfblk/www.wilbers.de/index.php(372): Rewriter->getSeoLinks(Array)
#3 {main}
thrown in /home/wilxfblk/www.wilbers.de/tools/con_sql.php on line 23