Notice: Trying to get property 'id_category_article' of non-object in /var/www/bioalaune/app/controllers/ArticleController.php on line 557

Notice: Trying to get property 'id_category_article' of non-object in /var/www/bioalaune/app/controllers/ArticleController.php on line 557
Une erreur s'est produite. Veuillez réessayer ultérieurement.Syntax error, unexpected token OR, near to ' ca.id_parent = ) ORDER BY date_update DESC LIMIT :APL0: OFFSET :APL1:', when parsing: SELECT [a].* FROM [Bioalaune\Article] AS [a] LEFT JOIN [Bioalaune\CategoryArticle] AS [ca] ON ca.id_category_article = a.id_category_article WHERE a.status = 'OK' AND a.class = 'VIDEO' AND (a.id_category_article = OR ca.id_parent = ) ORDER BY date_update DESC LIMIT :APL0: OFFSET :APL1: (287)
#0 [internal function]: Phalcon\Mvc\Model\Query\Lang::parsePHQL('SELECT [a].* FR...')
#1 [internal function]: Phalcon\Mvc\Model\Query->parse()
#2 [internal function]: Phalcon\Mvc\Model\Query->execute()
#3 /var/www/bioalaune/app/controllers/ArticleController.php(569): Phalcon\Paginator\Adapter\QueryBuilder->paginate()
#4 [internal function]: ArticleController->categoryVideosAction('')
#5 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(ArticleController), 'categoryVideosA...', Array)
#6 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#7 /var/www/bioalaune/public/index.php(79): Phalcon\Mvc\Application->handle('/fr/videos/?pag...')
#8 {main}