https://koycegizdetatil.com/%5C%22%22.$sql_surl.%22sql_tbl=%22.urlencode%28$row%5B%22Name%22%5D%29.%22%5C%22

Exceptions

[Syntax Error] line 0, col 9: Error: Expected Doctrine\ORM\Query\Lexer::T_IDENTIFIER, got ','

Exceptions 2

Doctrine\ORM\Query\ QueryException

  1.      *
  2.      * @return QueryException
  3.      */
  4.     public static function syntaxError($message$previous null)
  5.     {
  6.         return new self('[Syntax Error] ' $message0$previous);
  7.     }
  8.     /**
  9.      * @param string          $message
  10.      * @param \Exception|null $previous
QueryException::syntaxError() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 457)
  1.         $message  "line 0, col {$tokenPos}: Error: ";
  2.         $message .= ($expected !== '') ? "Expected {$expected}, got " 'Unexpected ';
  3.         $message .= ($this->lexer->lookahead === null) ? 'end of string.' "'{$token['value']}'";
  4.         throw QueryException::syntaxError($messageQueryException::dqlError($this->query->getDQL()));
  5.     }
  6.     /**
  7.      * Generates a new semantical error.
  8.      *
Parser->syntaxError() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 325)
  1.             $this->syntaxError($this->lexer->getLiteral($token));
  2.         }
  3.         // If parameter is T_IDENTIFIER, then matches T_IDENTIFIER (100) and keywords (200+)
  4.         if ($token === Lexer::T_IDENTIFIER && $lookaheadType Lexer::T_IDENTIFIER) {
  5.             $this->syntaxError($this->lexer->getLiteral($token));
  6.         }
  7.         $this->lexer->moveNext();
  8.     }
  1.         $identVariable $this->IdentificationVariable();
  2.         $field null;
  3.         if ($this->lexer->isNextToken(Lexer::T_DOT)) {
  4.             $this->match(Lexer::T_DOT);
  5.             $this->match(Lexer::T_IDENTIFIER);
  6.             $field $this->lexer->token['value'];
  7.             while ($this->lexer->isNextToken(Lexer::T_DOT)) {
  8.                 $this->match(Lexer::T_DOT);
Parser->PathExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 1141)
  1.      *
  2.      * @return \Doctrine\ORM\Query\AST\PathExpression
  3.      */
  4.     public function StateFieldPathExpression()
  5.     {
  6.         return $this->PathExpression(AST\PathExpression::TYPE_STATE_FIELD);
  7.     }
  8.     /**
  9.      * SingleValuedAssociationPathExpression ::= IdentificationVariable "." SingleValuedAssociationField
  10.      *
Parser->StateFieldPathExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 2003)
  1.                 if ($this->isMathOperator($peek)) {
  2.                     return $this->SimpleArithmeticExpression();
  3.                 }
  4.                 return $this->StateFieldPathExpression();
  5.             default:
  6.                 $this->syntaxError();
  7.         }
  8.     }
Parser->ScalarExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 2189)
  1.         $lookaheadType $this->lexer->lookahead['type'];
  2.         switch (true) {
  3.             // ScalarExpression (u.name)
  4.             case ($lookaheadType === Lexer::T_IDENTIFIER && $peek['type'] === Lexer::T_DOT):
  5.                 $expression $this->ScalarExpression();
  6.                 break;
  7.             // IdentificationVariable (u)
  8.             case ($lookaheadType === Lexer::T_IDENTIFIER && $peek['type'] !== Lexer::T_OPEN_PARENTHESIS):
  9.                 $expression $identVariable $this->IdentificationVariable();
Parser->SelectExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 1183)
  1.             $isDistinct true;
  2.         }
  3.         // Process SelectExpressions (1..N)
  4.         $selectExpressions = [];
  5.         $selectExpressions[] = $this->SelectExpression();
  6.         while ($this->lexer->isNextToken(Lexer::T_COMMA)) {
  7.             $this->match(Lexer::T_COMMA);
  8.             $selectExpressions[] = $this->SelectExpression();
Parser->SelectClause() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 879)
  1.      *
  2.      * @return \Doctrine\ORM\Query\AST\SelectStatement
  3.      */
  4.     public function SelectStatement()
  5.     {
  6.         $selectStatement = new AST\SelectStatement($this->SelectClause(), $this->FromClause());
  7.         $selectStatement->whereClause   $this->lexer->isNextToken(Lexer::T_WHERE) ? $this->WhereClause() : null;
  8.         $selectStatement->groupByClause $this->lexer->isNextToken(Lexer::T_GROUP) ? $this->GroupByClause() : null;
  9.         $selectStatement->havingClause  $this->lexer->isNextToken(Lexer::T_HAVING) ? $this->HavingClause() : null;
  10.         $selectStatement->orderByClause $this->lexer->isNextToken(Lexer::T_ORDER) ? $this->OrderByClause() : null;
Parser->SelectStatement() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 848)
  1.         $this->lexer->moveNext();
  2.         switch ($this->lexer->lookahead['type'] ?? null) {
  3.             case Lexer::T_SELECT:
  4.                 $statement $this->SelectStatement();
  5.                 break;
  6.             case Lexer::T_UPDATE:
  7.                 $statement $this->UpdateStatement();
  8.                 break;
Parser->QueryLanguage() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 261)
  1.      *         \Doctrine\ORM\Query\AST\DeleteStatement
  2.      */
  3.     public function getAST()
  4.     {
  5.         // Parse & build AST
  6.         $AST $this->QueryLanguage();
  7.         // Process any deferred validations of some nodes in the AST.
  8.         // This also allows post-processing of the AST for modification purposes.
  9.         $this->processDeferredIdentificationVariables();
  1.      *
  2.      * @return ParserResult
  3.      */
  4.     public function parse()
  5.     {
  6.         $AST $this->getAST();
  7.         if (($customWalkers $this->query->getHint(Query::HINT_CUSTOM_TREE_WALKERS)) !== false) {
  8.             $this->customTreeWalkers $customWalkers;
  9.         }
Parser->parse() in vendor/doctrine/orm/lib/Doctrine/ORM/Query.php (line 286)
  1.         }
  2.         // Cache miss.
  3.         $parser = new Parser($this);
  4.         $this->_parserResult $parser->parse();
  5.         $queryCache->save($hash$this->_parserResult$this->_queryCacheTTL);
  6.         return $this->_parserResult;
  7.     }
Query->_parse() in vendor/doctrine/orm/lib/Doctrine/ORM/Query.php (line 298)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     protected function _doExecute()
  5.     {
  6.         $executor $this->_parse()->getSqlExecutor();
  7.         if ($this->_queryCacheProfile) {
  8.             $executor->setQueryCacheProfile($this->_queryCacheProfile);
  9.         } else {
  10.             $executor->removeQueryCacheProfile();
Query->_doExecute() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 992)
  1.                 $cache->save($cacheKey$result$queryCacheProfile->getLifetime());
  2.             };
  3.         }
  4.         $stmt $this->_doExecute();
  5.         if (is_numeric($stmt)) {
  6.             $setCacheEntry($stmt);
  7.             return $stmt;
AbstractQuery->executeIgnoreQueryCache() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 947)
  1.     {
  2.         if ($this->cacheable && $this->isCacheEnabled()) {
  3.             return $this->executeUsingQueryCache($parameters$hydrationMode);
  4.         }
  5.         return $this->executeIgnoreQueryCache($parameters$hydrationMode);
  6.     }
  7.     /**
  8.      * Execute query ignoring second level cache.
  9.      *
AbstractQuery->execute() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 774)
  1.      *
  2.      * @return array
  3.      */
  4.     public function getScalarResult()
  5.     {
  6.         return $this->execute(nullself::HYDRATE_SCALAR);
  7.     }
  8.     /**
  9.      * Get exactly one result or null.
  10.      *
AbstractQuery->getScalarResult() in src/SiteBundle/Controller/SiteController.php (line 156)
  1.                     ->join('t.dil''d')
  2.                     ->where("t.sayfaId='" .$sayfa['dilgrup']. "' and d.id=" $suankiDil['id'])
  3.                     ->addOrderBy('t.sira''ASC')
  4.                     ->addOrderBy('t.id''DESC')
  5.                     ->getQuery()
  6.                     ->getScalarResult();
  7.             }
  8.             else{
  9.                 $qb $em->createQueryBuilder();
  10.                 $kategoriler $qb->select('k.dilgrup,k.adi,k.seourl,k.sayfabasligi,k.anahtarkelimeler,k.sayfaaciklamasi,k.ustid,k.resim,k.sayfaId')
  11.                     ->from('PanelBundle:Kategori''k')
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in web/app.php (line 19)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\ORM\Query\ QueryException

SELECT t.,t.dilgrup,t.kategoriId,d.id as did,t.sayfaId FROM PanelBundle: t INNER JOIN t.dil d WHERE t.sayfaId='' and d.id=1 ORDER BY t.sira ASC, t.id DESC

  1.      *
  2.      * @return QueryException
  3.      */
  4.     public static function dqlError($dql)
  5.     {
  6.         return new self($dql);
  7.     }
  8.     /**
  9.      * @param string          $message
  10.      * @param \Exception|null $previous
QueryException::dqlError() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 457)
  1.         $message  "line 0, col {$tokenPos}: Error: ";
  2.         $message .= ($expected !== '') ? "Expected {$expected}, got " 'Unexpected ';
  3.         $message .= ($this->lexer->lookahead === null) ? 'end of string.' "'{$token['value']}'";
  4.         throw QueryException::syntaxError($messageQueryException::dqlError($this->query->getDQL()));
  5.     }
  6.     /**
  7.      * Generates a new semantical error.
  8.      *
Parser->syntaxError() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 325)
  1.             $this->syntaxError($this->lexer->getLiteral($token));
  2.         }
  3.         // If parameter is T_IDENTIFIER, then matches T_IDENTIFIER (100) and keywords (200+)
  4.         if ($token === Lexer::T_IDENTIFIER && $lookaheadType Lexer::T_IDENTIFIER) {
  5.             $this->syntaxError($this->lexer->getLiteral($token));
  6.         }
  7.         $this->lexer->moveNext();
  8.     }
  1.         $identVariable $this->IdentificationVariable();
  2.         $field null;
  3.         if ($this->lexer->isNextToken(Lexer::T_DOT)) {
  4.             $this->match(Lexer::T_DOT);
  5.             $this->match(Lexer::T_IDENTIFIER);
  6.             $field $this->lexer->token['value'];
  7.             while ($this->lexer->isNextToken(Lexer::T_DOT)) {
  8.                 $this->match(Lexer::T_DOT);
Parser->PathExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 1141)
  1.      *
  2.      * @return \Doctrine\ORM\Query\AST\PathExpression
  3.      */
  4.     public function StateFieldPathExpression()
  5.     {
  6.         return $this->PathExpression(AST\PathExpression::TYPE_STATE_FIELD);
  7.     }
  8.     /**
  9.      * SingleValuedAssociationPathExpression ::= IdentificationVariable "." SingleValuedAssociationField
  10.      *
Parser->StateFieldPathExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 2003)
  1.                 if ($this->isMathOperator($peek)) {
  2.                     return $this->SimpleArithmeticExpression();
  3.                 }
  4.                 return $this->StateFieldPathExpression();
  5.             default:
  6.                 $this->syntaxError();
  7.         }
  8.     }
Parser->ScalarExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 2189)
  1.         $lookaheadType $this->lexer->lookahead['type'];
  2.         switch (true) {
  3.             // ScalarExpression (u.name)
  4.             case ($lookaheadType === Lexer::T_IDENTIFIER && $peek['type'] === Lexer::T_DOT):
  5.                 $expression $this->ScalarExpression();
  6.                 break;
  7.             // IdentificationVariable (u)
  8.             case ($lookaheadType === Lexer::T_IDENTIFIER && $peek['type'] !== Lexer::T_OPEN_PARENTHESIS):
  9.                 $expression $identVariable $this->IdentificationVariable();
Parser->SelectExpression() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 1183)
  1.             $isDistinct true;
  2.         }
  3.         // Process SelectExpressions (1..N)
  4.         $selectExpressions = [];
  5.         $selectExpressions[] = $this->SelectExpression();
  6.         while ($this->lexer->isNextToken(Lexer::T_COMMA)) {
  7.             $this->match(Lexer::T_COMMA);
  8.             $selectExpressions[] = $this->SelectExpression();
Parser->SelectClause() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 879)
  1.      *
  2.      * @return \Doctrine\ORM\Query\AST\SelectStatement
  3.      */
  4.     public function SelectStatement()
  5.     {
  6.         $selectStatement = new AST\SelectStatement($this->SelectClause(), $this->FromClause());
  7.         $selectStatement->whereClause   $this->lexer->isNextToken(Lexer::T_WHERE) ? $this->WhereClause() : null;
  8.         $selectStatement->groupByClause $this->lexer->isNextToken(Lexer::T_GROUP) ? $this->GroupByClause() : null;
  9.         $selectStatement->havingClause  $this->lexer->isNextToken(Lexer::T_HAVING) ? $this->HavingClause() : null;
  10.         $selectStatement->orderByClause $this->lexer->isNextToken(Lexer::T_ORDER) ? $this->OrderByClause() : null;
Parser->SelectStatement() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 848)
  1.         $this->lexer->moveNext();
  2.         switch ($this->lexer->lookahead['type'] ?? null) {
  3.             case Lexer::T_SELECT:
  4.                 $statement $this->SelectStatement();
  5.                 break;
  6.             case Lexer::T_UPDATE:
  7.                 $statement $this->UpdateStatement();
  8.                 break;
Parser->QueryLanguage() in vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php (line 261)
  1.      *         \Doctrine\ORM\Query\AST\DeleteStatement
  2.      */
  3.     public function getAST()
  4.     {
  5.         // Parse & build AST
  6.         $AST $this->QueryLanguage();
  7.         // Process any deferred validations of some nodes in the AST.
  8.         // This also allows post-processing of the AST for modification purposes.
  9.         $this->processDeferredIdentificationVariables();
  1.      *
  2.      * @return ParserResult
  3.      */
  4.     public function parse()
  5.     {
  6.         $AST $this->getAST();
  7.         if (($customWalkers $this->query->getHint(Query::HINT_CUSTOM_TREE_WALKERS)) !== false) {
  8.             $this->customTreeWalkers $customWalkers;
  9.         }
Parser->parse() in vendor/doctrine/orm/lib/Doctrine/ORM/Query.php (line 286)
  1.         }
  2.         // Cache miss.
  3.         $parser = new Parser($this);
  4.         $this->_parserResult $parser->parse();
  5.         $queryCache->save($hash$this->_parserResult$this->_queryCacheTTL);
  6.         return $this->_parserResult;
  7.     }
Query->_parse() in vendor/doctrine/orm/lib/Doctrine/ORM/Query.php (line 298)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     protected function _doExecute()
  5.     {
  6.         $executor $this->_parse()->getSqlExecutor();
  7.         if ($this->_queryCacheProfile) {
  8.             $executor->setQueryCacheProfile($this->_queryCacheProfile);
  9.         } else {
  10.             $executor->removeQueryCacheProfile();
Query->_doExecute() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 992)
  1.                 $cache->save($cacheKey$result$queryCacheProfile->getLifetime());
  2.             };
  3.         }
  4.         $stmt $this->_doExecute();
  5.         if (is_numeric($stmt)) {
  6.             $setCacheEntry($stmt);
  7.             return $stmt;
AbstractQuery->executeIgnoreQueryCache() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 947)
  1.     {
  2.         if ($this->cacheable && $this->isCacheEnabled()) {
  3.             return $this->executeUsingQueryCache($parameters$hydrationMode);
  4.         }
  5.         return $this->executeIgnoreQueryCache($parameters$hydrationMode);
  6.     }
  7.     /**
  8.      * Execute query ignoring second level cache.
  9.      *
AbstractQuery->execute() in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php (line 774)
  1.      *
  2.      * @return array
  3.      */
  4.     public function getScalarResult()
  5.     {
  6.         return $this->execute(nullself::HYDRATE_SCALAR);
  7.     }
  8.     /**
  9.      * Get exactly one result or null.
  10.      *
AbstractQuery->getScalarResult() in src/SiteBundle/Controller/SiteController.php (line 156)
  1.                     ->join('t.dil''d')
  2.                     ->where("t.sayfaId='" .$sayfa['dilgrup']. "' and d.id=" $suankiDil['id'])
  3.                     ->addOrderBy('t.sira''ASC')
  4.                     ->addOrderBy('t.id''DESC')
  5.                     ->getQuery()
  6.                     ->getScalarResult();
  7.             }
  8.             else{
  9.                 $qb $em->createQueryBuilder();
  10.                 $kategoriler $qb->select('k.dilgrup,k.adi,k.seourl,k.sayfabasligi,k.anahtarkelimeler,k.sayfaaciklamasi,k.ustid,k.resim,k.sayfaId')
  11.                     ->from('PanelBundle:Kategori''k')
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in web/app.php (line 19)
  1. //$kernel = new AppCache($kernel);
  2. // When using the HttpCache, you need to call the method in your front controller instead of relying on the configuration parameter
  3. //Request::enableHttpMethodParameterOverride();
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 2

[2/2] QueryException

Doctrine\ORM\Query\QueryException:
[Syntax Error] line 0, col 9: Error: Expected Doctrine\ORM\Query\Lexer::T_IDENTIFIER, got ','

  at vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:54
  at Doctrine\ORM\Query\QueryException::syntaxError()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:457)
  at Doctrine\ORM\Query\Parser->syntaxError()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:325)
  at Doctrine\ORM\Query\Parser->match()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1084)
  at Doctrine\ORM\Query\Parser->PathExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1141)
  at Doctrine\ORM\Query\Parser->StateFieldPathExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:2003)
  at Doctrine\ORM\Query\Parser->ScalarExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:2189)
  at Doctrine\ORM\Query\Parser->SelectExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1183)
  at Doctrine\ORM\Query\Parser->SelectClause()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:879)
  at Doctrine\ORM\Query\Parser->SelectStatement()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:848)
  at Doctrine\ORM\Query\Parser->QueryLanguage()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:261)
  at Doctrine\ORM\Query\Parser->getAST()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:360)
  at Doctrine\ORM\Query\Parser->parse()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:286)
  at Doctrine\ORM\Query->_parse()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:298)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:992)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:947)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:774)
  at Doctrine\ORM\AbstractQuery->getScalarResult()
     (src/SiteBundle/Controller/SiteController.php:156)
  at SiteBundle\Controller\SiteController->sayfaAction()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:19)

                                

[1/2] QueryException

Doctrine\ORM\Query\QueryException:
SELECT t.,t.dilgrup,t.kategoriId,d.id as did,t.sayfaId FROM PanelBundle: t INNER JOIN t.dil d WHERE t.sayfaId='' and d.id=1 ORDER BY t.sira ASC, t.id DESC

  at vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php:43
  at Doctrine\ORM\Query\QueryException::dqlError()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:457)
  at Doctrine\ORM\Query\Parser->syntaxError()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:325)
  at Doctrine\ORM\Query\Parser->match()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1084)
  at Doctrine\ORM\Query\Parser->PathExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1141)
  at Doctrine\ORM\Query\Parser->StateFieldPathExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:2003)
  at Doctrine\ORM\Query\Parser->ScalarExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:2189)
  at Doctrine\ORM\Query\Parser->SelectExpression()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:1183)
  at Doctrine\ORM\Query\Parser->SelectClause()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:879)
  at Doctrine\ORM\Query\Parser->SelectStatement()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:848)
  at Doctrine\ORM\Query\Parser->QueryLanguage()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:261)
  at Doctrine\ORM\Query\Parser->getAST()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:360)
  at Doctrine\ORM\Query\Parser->parse()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:286)
  at Doctrine\ORM\Query->_parse()
     (vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:298)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:992)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:947)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:774)
  at Doctrine\ORM\AbstractQuery->getScalarResult()
     (src/SiteBundle/Controller/SiteController.php:156)
  at SiteBundle\Controller\SiteController->sayfaAction()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app.php:19)