0 => Undantag: "SqlError: 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 ') AND entProductTemplate.templateStatus = 'active' AND entProduct.productStatus ' at line 1 Query: SELECT COUNT(DISTINCT(entProductTemplate.templateId)) FROM entProductTemplate LEFT JOIN entProduct ON entProductTemplate.templateProductId = entProduct.productId LEFT JOIN entProductToRoute ON entProductTemplate.templateId = entProductToRoute.parentId LEFT JOIN entRoute ON entProductToRoute.routeId = entRoute.routeId AND entProductToRoute.parentType = 'productTemplate' LEFT JOIN entProductTemplateToCategory ON entProductTemplate.templateId = entProductTemplateToCategory.templateId LEFT JOIN entProductText AS text1 ON entProductTemplate.templateTitleTextId = text1.textId AND text1.textLangId = 1 LEFT JOIN entProductText AS text2 ON entProductTemplate.templateShortDescriptionTextId = text2.textId AND text2.textLangId = 1 WHERE entRoute.routePathLangId = 1 AND entProductTemplateToCategory.categoryId IN() AND entProductTemplate.templateStatus = 'active' AND entProduct.productStatus = 'active'" på raden 69 i filen /home/hjarterum/domains/hjarterum.net/platform/core/clDbPdo.php vid koden 0