Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'INNER JOIN `product_template` ON (`product`.`id_product_template`=`product_templ' at line 1 in /opt/propel_2.0.beta3c/src/Propel/Runtime/Connection/ConnectionWrapper.php:482
Stack trace:
#0 /opt/propel_2.0.beta3c/src/Propel/Runtime/Connection/ConnectionWrapper.php(482): PDOStatement->execute()
#1 /opt/propel_2.0.beta3c/src/Propel/Runtime/Connection/StatementWrapper.php(216): Propel\Runtime\Connection\ConnectionWrapper->callUserFunctionWithLogging(Array, Array, 'SELECT COUNT(*)...')
#2 /opt/propel_2.0.beta3c/src/Propel/Runtime/Connection/ProfilerStatementWrapper.php(68): Propel\Runtime\Connection\StatementWrapper->execute(NULL)
#3 /opt/propel_2.0.beta3c/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php(112): Propel\Runtime\Connection\ProfilerStatementWrapper->execute()
#4 /opt/pr in /opt/propel_2.0.beta3c/src/Propel/Runtime/ActiveQuery/QueryExecutor/AbstractQueryExecutor.php on line 145