Что-то сдохло, иначе и не скажешь Phalcon\Mvc\Model\Exception Syntax error, unexpected token ), near to ') AND (finished_at IS NOT NULL)) AND (error IS NULL)', when parsing: SELECT skin_id FROM [SkinsProcessing] WHERE ((skin_id IN ()) AND (finished_at IS NOT NULL)) AND (error IS NULL) (111)
#0 [internal function]: Phalcon\Mvc\Model\Query->parse()
#1 [internal function]: Phalcon\Mvc\Model\Query->execute(NULL, NULL)
#2 [internal function]: Phalcon\Mvc\Model::find(Array)
#3 /var/www/erick/ely.by/app/controllers/SkinsController.php(224): Phalcon\Mvc\Model\Criteria->execute()
#4 /var/www/erick/ely.by/app/library/Cache/BackendCacheAdapter.php(47): SkinsController->{closure}(Object(Ely\Cache\TagsCacheAdapter))
#5 /var/www/erick/ely.by/app/library/Cache.php(19): Ely\Cache\BackendCacheAdapter->get('skins-list-30c7...', Object(Closure))
#6 /var/www/erick/ely.by/app/controllers/SkinsController.php(256): Ely\Cache::get('skins-list-30c7...', Object(Closure))
#7 /var/www/erick/ely.by/app/controllers/SkinsController.php(296): SkinsController->getSkinsByFilters()
#8 [internal function]: SkinsController->indexAction()
#9 [internal function]: Phalcon\Dispatcher->dispatch()
#10 /var/www/erick/ely.by/public/index.php(61): Phalcon\Mvc\Application->handle()
#11 {main}