Syntax error, unexpected token IDENTIFIER(s), near to ' jam' OR (1 != 1)) ORDER BY _create_at desc LIMIT :APL0: OFFSET :APL1:', when parsing: SELECT DISTINCT [Cuisine].* FROM [Cuisine] JOIN [CuisineTagLinking] AS [tag] ON tag._cuisine_id = id JOIN [CuisineCategoryLinking] AS [c] ON c._cuisine_id = id JOIN [CuisineSeasonLinking] AS [s] ON s._cuisine_id = id WHERE _published = 1 AND (tag._tag = 'new year's jam' OR (1 != 1)) ORDER BY _create_at desc LIMIT :APL0: OFFSET :APL1: (335)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 /home/cooking/public_html/app/controllers/RecipeController.php(157): Phalcon\Mvc\Model\Query->execute()
#2 [internal function]: RecipeController->indexAction(Array, 'New Year's jam')
#3 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(RecipeController), 'indexAction', Array)
#4 [internal function]: Phalcon\Dispatcher->dispatch()
#5 /home/cooking/public_html/index.php(41): Phalcon\Mvc\Application->handle()
#6 {main}