Doctrine\ORM\Query\QueryException

[Semantical Error] line 0, col 292 near 'categorys.id': Error: 'categorys' is not defined. (/home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:63)

#0 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(483): Doctrine\ORM\Query\QueryException::semanticalError('line 0, col 292...', Object(Doctrine\ORM\Query\QueryException))
#1 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(586): Doctrine\ORM\Query\Parser->semanticalError(''categorys' is ...', Array)
#2 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(272): Doctrine\ORM\Query\Parser->processDeferredIdentificationVariables()
#3 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php(351): Doctrine\ORM\Query\Parser->getAST()
#4 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(281): Doctrine\ORM\Query\Parser->parse()
#5 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(293): Doctrine\ORM\Query->_parse()
#6 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(969): Doctrine\ORM\Query->_doExecute()
#7 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(924): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 2)
#8 /home/adminsicas/public_html/inc/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(739): Doctrine\ORM\AbstractQuery->execute(NULL, 2)
#9 /home/adminsicas/public_html/model/ContentRepository.php(973): Doctrine\ORM\AbstractQuery->getArrayResult()
#10 /home/adminsicas/public_html/template/sicas/pages/article/main.php(122): ContentRepository->mmSearch(Array)
#11 /home/adminsicas/public_html/inc/app/Shahang/Base/Controller.php(161): include('/home/adminsica...')
#12 /home/adminsicas/public_html/inc/app/Shahang/Base/Controller.php(79): Shahang\Base\Controller->render('template/sicas/...')
#13 /home/adminsicas/public_html/inc/app/Shahang/Base/Application/WebApplication.php(61): Shahang\Base\Controller->processRequest(Object(Request))
#14 /home/adminsicas/public_html/index.php(11): Shahang\Base\Application\WebApplication->run(Object(Request))
#15 {main}