A Database Error Occurred

Error Number: 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 '' at line 5

select COUNT(*) AS count from recipes inner join categories on categories.category_id = recipes.category_id inner join recipes_lang on recipes.recipe_id = recipes_lang.recipe_id where recipes_lang.active = 1 and recipes_lang.lang = 'en' and recipes.status = 'active' and recipes.category_id =

Filename: C:/inetpub/wwwphp/nutrisetup.com/application/controllers/Category.php

Line Number: 75