Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 'INNER JOIN
app_flds c ON c._fr = A.id AND A._typ = c._typ
...' at line 9' in /home/sites/10a/a/a9bd558210/public_html/lib/Doctrine/DBAL/Driver/PDOConnection.php:104
Stack trace:
#0 /home/sites/10a/a/a9bd558210/public_html/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('\n\t\t\t\t\tSELECT \n\t...')
#1 /home/sites/10a/a/a9bd558210/public_html/lib/Doctrine/DBAL/Connection.php(830): Doctrine\DBAL\Driver\PDOConnection->query('\n\t\t\t\t\tSELECT \n\t...')
#2 /home/sites/10a/a/a9bd558210/public_html/lib/Doctrine/DBAL/Connection.php(761): Doctrine\DBAL\Connection->executeQuery('\n\t\t\t\t\tSELECT \n\t...', Array, Array)
#3 /home/sites/10a/a/a9bd558210/public_html/app/model.class.php(102): Doctrine\DBAL\Connection->fetchAll('\n\t\t\t\t\tSELECT \n\t.. in /home/sites/10a/a/a9bd558210/public_html/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 89