Symfony Exception

PDOException Exception SyntaxErrorException RuntimeError

HTTP 500 Internal Server Error

An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "en" AND p0_.site_id = 156 AND p0_.item = "Олекса Тихий, Володимир О. Тихий, Боротьба за незалежність України, Пушкін і Путін, Гримаси "русского міра"Незалежний Медіа Форум, Гримаси "русского міра", Незалежний Медіа Форум, Independent Media Forum, IMF, www.uacenter.media" LIMIT 1;':

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1").

Exceptions 4

Twig\Error\ RuntimeError

  1.                     </div>
  2.                     {% endif %}
  3.                     <div class="info_bar author" style="margin-bottom: 30px;">
  4.                         {% if(post.tags) %}
  5.                             <div class="bar_item bi_user" title="Теги">
  6.                                 {{ loc('Теги')|raw }}: <strong>{{ loc(post.tags)|raw }}</strong>
  7.                             </div>
  8.                         {% endif %}
  9.                         <div class="row">
  10.                             <div class="col-md-8">
  11.                                 {% if(post.autor) %}
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["col"], "class", [], "array"falsefalsefalse87), "html"nulltrue);
  2.                         echo " no-padding\">
  3.                                 <div class=\"content-inner-controller\">
  4.                                     ";
  5.                         // line 89
  6.                         $this->loadTemplate((isset($context["container"]) || array_key_exists("container"$context) ? $context["container"] : (function () { throw new RuntimeError('Variable "container" does not exist.'89$this->source); })()), "widjets/layout.html.twig"89)->display($context);
  7.                         // line 90
  8.                         echo "                                </div>
  9.                             </div>
  10.                         ";
  11.                     } else {
in vendor/twig/twig/src/Template.php -> block_body (line 182)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         <div style=\"clear: both\"></div>
  2.         <div class=\"bbpp\"></div>
  3.     </div>-->
  4.         ";
  5.         // line 185
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 186
  8.         echo "
  9.         ";
  10.         // line 187
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         // line 110
  2.         if (array_key_exists("container"$context)) {
  3.         }
  4.         // line 1
  5.         $this->parent $this->loadTemplate("widjets/base.html.twig""widjets/layout.html.twig"1);
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  2.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  3.             $content $this->container->get('templating')->render($view$parameters);
  4.         } elseif ($this->container->has('twig')) {
  5.             $content $this->container->get('twig')->render($view$parameters);
  6.         } else {
  7.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  8.         }
  9.         if (null === $response) {
  1.                         'user' => $user,
  2.                         'photoLoad' => $photoLoad $photoLoad : ($photo $photo->getId() : 0),
  3.                         'sitesLink' => $sitesLink,
  4.                         'container' => $category->getPostType()->getId()==$this->template.'/default/photo-viev.html.twig' $this->template.'/default/'.$template.'.html.twig',
  5.                         'breadcriumbs' => $this->breadcriumbs->getAll(),
  6.                         'title' => HelpersPostService::loc($curentSite$em$request'post_name_'.$post->getId(), $this->params).' — '.HelpersPostService::loc($curentSite$em$request$curentSite->getSettings()->getName(), $this->params),
  7.                     ]);
  8.                     /*$pah = $cachePool->getItem('post.path1.'.$category->getId().'.'.$alies);
  9.                     $pah->set($return);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 public/index.php (line 40)
  1. }
  2. $kernel = new Kernel($env$debug);
  3. $request Request::createFromGlobals();
  4. $response $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request$response);

Doctrine\DBAL\Exception\ SyntaxErrorException

An exception occurred while executing 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "en" AND p0_.site_id = 156 AND p0_.item = "Олекса Тихий, Володимир О. Тихий, Боротьба за незалежність України, Пушкін і Путін, Гримаси "русского міра"Незалежний Медіа Форум, Гримаси "русского міра", Незалежний Медіа Форум, Independent Media Forum, IMF, www.uacenter.media" LIMIT 1;': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  1.             case '1382':
  2.             case '1479':
  3.             case '1541':
  4.             case '1554':
  5.             case '1626':
  6.                 return new SyntaxErrorException($message$exception);
  7.             case '1044':
  8.             case '1045':
  9.             case '1046':
  10.             case '1049':
  1.         if ($driverEx instanceof DriverException) {
  2.             return $driverEx;
  3.         }
  4.         if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
  5.             return $driver->convertException($msg$driverEx);
  6.         }
  7.         return new Exception($msg0$driverEx);
  8.     }
  1.             $msg .= ' with params ' self::formatParameters($params);
  2.         }
  3.         $msg .= ":\n\n" $driverEx->getMessage();
  4.         return self::wrapException($driver$driverEx$msg);
  5.     }
  6.     /**
  7.      * @deprecated
  8.      *
in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php :: driverExceptionDuringQuery (line 2226)
  1.         $this->throw(
  2.             Exception::driverExceptionDuringQuery(
  3.                 $this->_driver,
  4.                 $e,
  5.                 $sql,
  6.                 $this->resolveParams($params$types)
  7.             )
  8.         );
  9.     }
  10.     /**
in vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php -> handleExceptionDuringQuery (line 185)
  1.         } catch (Throwable $ex) {
  2.             if ($logger) {
  3.                 $logger->stopQuery();
  4.             }
  5.             $this->conn->handleExceptionDuringQuery($ex$this->sql$this->params$this->types);
  6.         }
  7.         if ($logger) {
  8.             $logger->stopQuery();
  9.         }
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         $this->execute($params);
  6.         return new ForwardCompatibility\Result($this);
  7.     }
  8.     /**
  1.     {
  2.         $conn $this->getEntityManager()->getConnection();
  3.         $sql 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "'.$locale.'" AND p0_.site_id = '.$site->getId().' AND p0_.item = "'.$item.'" LIMIT 1;';
  4.         $stmt $conn->prepare($sql);
  5.         $resultSet $stmt->executeQuery();
  6.         $posts $resultSet->fetchAllAssociative();
  7.         if(isset($posts[0]))
  8.             return $posts[0]['value'];
  9.         return '';
  1.         }
  2.         /*if(strpos($text, 'Read...'))
  3.             file_put_contents('/home/inform/sites/poltava-inform.com/public/tr.txt', $text);*/
  4.         $curentSite $this->sitesRepository->find($this->params->get('curent_site'));
  5.         $translate $this->translateRepository->getName($curentSite$locale$widId $widId $text);
  6.         if($translate) {
  7.             $return $translate;
  8.             $getTranslate true;
  9.         } else {
  1.             echo "                            <div class=\"bar_item bi_user\" title=\"Теги\">
  2.                                 ";
  3.             // line 347
  4.             echo $this->extensions['App\Twig\AppExtension']->loc("Теги");
  5.             echo ": <strong>";
  6.             echo $this->extensions['App\Twig\AppExtension']->loc(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'347$this->source); })()), "tags", [], "any"falsefalsefalse347));
  7.             echo "</strong>
  8.                             </div>
  9.                         ";
  10.         }
  11.         // line 350
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["col"], "class", [], "array"falsefalsefalse87), "html"nulltrue);
  2.                         echo " no-padding\">
  3.                                 <div class=\"content-inner-controller\">
  4.                                     ";
  5.                         // line 89
  6.                         $this->loadTemplate((isset($context["container"]) || array_key_exists("container"$context) ? $context["container"] : (function () { throw new RuntimeError('Variable "container" does not exist.'89$this->source); })()), "widjets/layout.html.twig"89)->display($context);
  7.                         // line 90
  8.                         echo "                                </div>
  9.                             </div>
  10.                         ";
  11.                     } else {
in vendor/twig/twig/src/Template.php -> block_body (line 182)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         <div style=\"clear: both\"></div>
  2.         <div class=\"bbpp\"></div>
  3.     </div>-->
  4.         ";
  5.         // line 185
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 186
  8.         echo "
  9.         ";
  10.         // line 187
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         // line 110
  2.         if (array_key_exists("container"$context)) {
  3.         }
  4.         // line 1
  5.         $this->parent $this->loadTemplate("widjets/base.html.twig""widjets/layout.html.twig"1);
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  2.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  3.             $content $this->container->get('templating')->render($view$parameters);
  4.         } elseif ($this->container->has('twig')) {
  5.             $content $this->container->get('twig')->render($view$parameters);
  6.         } else {
  7.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  8.         }
  9.         if (null === $response) {
  1.                         'user' => $user,
  2.                         'photoLoad' => $photoLoad $photoLoad : ($photo $photo->getId() : 0),
  3.                         'sitesLink' => $sitesLink,
  4.                         'container' => $category->getPostType()->getId()==$this->template.'/default/photo-viev.html.twig' $this->template.'/default/'.$template.'.html.twig',
  5.                         'breadcriumbs' => $this->breadcriumbs->getAll(),
  6.                         'title' => HelpersPostService::loc($curentSite$em$request'post_name_'.$post->getId(), $this->params).' — '.HelpersPostService::loc($curentSite$em$request$curentSite->getSettings()->getName(), $this->params),
  7.                     ]);
  8.                     /*$pah = $cachePool->getItem('post.path1.'.$category->getId().'.'.$alies);
  9.                     $pah->set($return);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 public/index.php (line 40)
  1. }
  2. $kernel = new Kernel($env$debug);
  3. $request Request::createFromGlobals();
  4. $response $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request$response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  1.  */
  2. final class Exception extends PDOException
  3. {
  4.     public static function new(\PDOException $exception): self
  5.     {
  6.         return new self($exception);
  7.     }
  8. }
  1.     public function execute($params null)
  2.     {
  3.         try {
  4.             return parent::execute($params);
  5.         } catch (PDOException $exception) {
  6.             throw Exception::new($exception);
  7.         }
  8.     }
  9.     /**
  10.      * {@inheritdoc}
  1.         if ($logger) {
  2.             $logger->startQuery($this->sql$this->params$this->types);
  3.         }
  4.         try {
  5.             $stmt $this->stmt->execute($params);
  6.         } catch (Throwable $ex) {
  7.             if ($logger) {
  8.                 $logger->stopQuery();
  9.             }
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         $this->execute($params);
  6.         return new ForwardCompatibility\Result($this);
  7.     }
  8.     /**
  1.     {
  2.         $conn $this->getEntityManager()->getConnection();
  3.         $sql 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "'.$locale.'" AND p0_.site_id = '.$site->getId().' AND p0_.item = "'.$item.'" LIMIT 1;';
  4.         $stmt $conn->prepare($sql);
  5.         $resultSet $stmt->executeQuery();
  6.         $posts $resultSet->fetchAllAssociative();
  7.         if(isset($posts[0]))
  8.             return $posts[0]['value'];
  9.         return '';
  1.         }
  2.         /*if(strpos($text, 'Read...'))
  3.             file_put_contents('/home/inform/sites/poltava-inform.com/public/tr.txt', $text);*/
  4.         $curentSite $this->sitesRepository->find($this->params->get('curent_site'));
  5.         $translate $this->translateRepository->getName($curentSite$locale$widId $widId $text);
  6.         if($translate) {
  7.             $return $translate;
  8.             $getTranslate true;
  9.         } else {
  1.             echo "                            <div class=\"bar_item bi_user\" title=\"Теги\">
  2.                                 ";
  3.             // line 347
  4.             echo $this->extensions['App\Twig\AppExtension']->loc("Теги");
  5.             echo ": <strong>";
  6.             echo $this->extensions['App\Twig\AppExtension']->loc(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'347$this->source); })()), "tags", [], "any"falsefalsefalse347));
  7.             echo "</strong>
  8.                             </div>
  9.                         ";
  10.         }
  11.         // line 350
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["col"], "class", [], "array"falsefalsefalse87), "html"nulltrue);
  2.                         echo " no-padding\">
  3.                                 <div class=\"content-inner-controller\">
  4.                                     ";
  5.                         // line 89
  6.                         $this->loadTemplate((isset($context["container"]) || array_key_exists("container"$context) ? $context["container"] : (function () { throw new RuntimeError('Variable "container" does not exist.'89$this->source); })()), "widjets/layout.html.twig"89)->display($context);
  7.                         // line 90
  8.                         echo "                                </div>
  9.                             </div>
  10.                         ";
  11.                     } else {
in vendor/twig/twig/src/Template.php -> block_body (line 182)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         <div style=\"clear: both\"></div>
  2.         <div class=\"bbpp\"></div>
  3.     </div>-->
  4.         ";
  5.         // line 185
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 186
  8.         echo "
  9.         ";
  10.         // line 187
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         // line 110
  2.         if (array_key_exists("container"$context)) {
  3.         }
  4.         // line 1
  5.         $this->parent $this->loadTemplate("widjets/base.html.twig""widjets/layout.html.twig"1);
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  2.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  3.             $content $this->container->get('templating')->render($view$parameters);
  4.         } elseif ($this->container->has('twig')) {
  5.             $content $this->container->get('twig')->render($view$parameters);
  6.         } else {
  7.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  8.         }
  9.         if (null === $response) {
  1.                         'user' => $user,
  2.                         'photoLoad' => $photoLoad $photoLoad : ($photo $photo->getId() : 0),
  3.                         'sitesLink' => $sitesLink,
  4.                         'container' => $category->getPostType()->getId()==$this->template.'/default/photo-viev.html.twig' $this->template.'/default/'.$template.'.html.twig',
  5.                         'breadcriumbs' => $this->breadcriumbs->getAll(),
  6.                         'title' => HelpersPostService::loc($curentSite$em$request'post_name_'.$post->getId(), $this->params).' — '.HelpersPostService::loc($curentSite$em$request$curentSite->getSettings()->getName(), $this->params),
  7.                     ]);
  8.                     /*$pah = $cachePool->getItem('post.path1.'.$category->getId().'.'.$alies);
  9.                     $pah->set($return);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 public/index.php (line 40)
  1. }
  2. $kernel = new Kernel($env$debug);
  3. $request Request::createFromGlobals();
  4. $response $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request$response);

PDOException

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  1.      */
  2.     #[ReturnTypeWillChange]
  3.     public function execute($params null)
  4.     {
  5.         try {
  6.             return parent::execute($params);
  7.         } catch (PDOException $exception) {
  8.             throw Exception::new($exception);
  9.         }
  10.     }
  1.      */
  2.     #[ReturnTypeWillChange]
  3.     public function execute($params null)
  4.     {
  5.         try {
  6.             return parent::execute($params);
  7.         } catch (PDOException $exception) {
  8.             throw Exception::new($exception);
  9.         }
  10.     }
  1.         if ($logger) {
  2.             $logger->startQuery($this->sql$this->params$this->types);
  3.         }
  4.         try {
  5.             $stmt $this->stmt->execute($params);
  6.         } catch (Throwable $ex) {
  7.             if ($logger) {
  8.                 $logger->stopQuery();
  9.             }
  1.     {
  2.         if ($params === []) {
  3.             $params null// Workaround as long execute() exists and used internally.
  4.         }
  5.         $this->execute($params);
  6.         return new ForwardCompatibility\Result($this);
  7.     }
  8.     /**
  1.     {
  2.         $conn $this->getEntityManager()->getConnection();
  3.         $sql 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "'.$locale.'" AND p0_.site_id = '.$site->getId().' AND p0_.item = "'.$item.'" LIMIT 1;';
  4.         $stmt $conn->prepare($sql);
  5.         $resultSet $stmt->executeQuery();
  6.         $posts $resultSet->fetchAllAssociative();
  7.         if(isset($posts[0]))
  8.             return $posts[0]['value'];
  9.         return '';
  1.         }
  2.         /*if(strpos($text, 'Read...'))
  3.             file_put_contents('/home/inform/sites/poltava-inform.com/public/tr.txt', $text);*/
  4.         $curentSite $this->sitesRepository->find($this->params->get('curent_site'));
  5.         $translate $this->translateRepository->getName($curentSite$locale$widId $widId $text);
  6.         if($translate) {
  7.             $return $translate;
  8.             $getTranslate true;
  9.         } else {
  1.             echo "                            <div class=\"bar_item bi_user\" title=\"Теги\">
  2.                                 ";
  3.             // line 347
  4.             echo $this->extensions['App\Twig\AppExtension']->loc("Теги");
  5.             echo ": <strong>";
  6.             echo $this->extensions['App\Twig\AppExtension']->loc(twig_get_attribute($this->env$this->source, (isset($context["post"]) || array_key_exists("post"$context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.'347$this->source); })()), "tags", [], "any"falsefalsefalse347));
  7.             echo "</strong>
  8.                             </div>
  9.                         ";
  10.         }
  11.         // line 350
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["col"], "class", [], "array"falsefalsefalse87), "html"nulltrue);
  2.                         echo " no-padding\">
  3.                                 <div class=\"content-inner-controller\">
  4.                                     ";
  5.                         // line 89
  6.                         $this->loadTemplate((isset($context["container"]) || array_key_exists("container"$context) ? $context["container"] : (function () { throw new RuntimeError('Variable "container" does not exist.'89$this->source); })()), "widjets/layout.html.twig"89)->display($context);
  7.                         // line 90
  8.                         echo "                                </div>
  9.                             </div>
  10.                         ";
  11.                     } else {
in vendor/twig/twig/src/Template.php -> block_body (line 182)
  1.             throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2.         }
  3.         if (null !== $template) {
  4.             try {
  5.                 $template->$block($context$blocks);
  6.             } catch (Error $e) {
  7.                 if (!$e->getSourceContext()) {
  8.                     $e->setSourceContext($template->getSourceContext());
  9.                 }
  1.         <div style=\"clear: both\"></div>
  2.         <div class=\"bbpp\"></div>
  3.     </div>-->
  4.         ";
  5.         // line 185
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 186
  8.         echo "
  9.         ";
  10.         // line 187
  11.         $this->displayBlock('footer'$context$blocks);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         // line 110
  2.         if (array_key_exists("container"$context)) {
  3.         }
  4.         // line 1
  5.         $this->parent $this->loadTemplate("widjets/base.html.twig""widjets/layout.html.twig"1);
  6.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  7.         
  8.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  9.         
  10.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  2.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  3.             $content $this->container->get('templating')->render($view$parameters);
  4.         } elseif ($this->container->has('twig')) {
  5.             $content $this->container->get('twig')->render($view$parameters);
  6.         } else {
  7.             throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
  8.         }
  9.         if (null === $response) {
  1.                         'user' => $user,
  2.                         'photoLoad' => $photoLoad $photoLoad : ($photo $photo->getId() : 0),
  3.                         'sitesLink' => $sitesLink,
  4.                         'container' => $category->getPostType()->getId()==$this->template.'/default/photo-viev.html.twig' $this->template.'/default/'.$template.'.html.twig',
  5.                         'breadcriumbs' => $this->breadcriumbs->getAll(),
  6.                         'title' => HelpersPostService::loc($curentSite$em$request'post_name_'.$post->getId(), $this->params).' — '.HelpersPostService::loc($curentSite$em$request$curentSite->getSettings()->getName(), $this->params),
  7.                     ]);
  8.                     /*$pah = $cachePool->getItem('post.path1.'.$category->getId().'.'.$alies);
  9.                     $pah->set($return);
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  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 public/index.php (line 40)
  1. }
  2. $kernel = new Kernel($env$debug);
  3. $request Request::createFromGlobals();
  4. $response $kernel->handle($request);
  5. $response->send();
  6. $kernel->terminate($request$response);

Stack Traces 4

[4/4] RuntimeError

Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "en" AND p0_.site_id = 156 AND p0_.item = "Олекса Тихий, Володимир О. Тихий, Боротьба за незалежність України, Пушкін і Путін, Гримаси "русского міра"Незалежний Медіа Форум, Гримаси "русского міра", Незалежний Медіа Форум, Independent Media Forum, IMF, www.uacenter.media" LIMIT 1;':

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1").

  at /home/admin/web/t.ukraine-inform.com/public_html/templates/widjets/default/post.html.twig:347
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:408)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->block_body()
     (vendor/twig/twig/src/Template.php:182)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/92/929b7a6c86f65390f1679f137dec6ad18e9fb3fd43049776e251d74c46cd37c9.php:294)
  at __TwigTemplate_699bf1da84bf42ded309e8fdf2e9f19d4d218e1612219dc12de9424671cfcb97->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:59)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:235)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Controller/DefaultController.php:2830)
  at App\Controller\DefaultController->post()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:40)                

[3/4] SyntaxErrorException

Doctrine\DBAL\Exception\SyntaxErrorException:
An exception occurred while executing 'SELECT p0_.value AS value FROM translate p0_ WHERE p0_.locale = "en" AND p0_.site_id = 156 AND p0_.item = "Олекса Тихий, Володимир О. Тихий, Боротьба за незалежність України, Пушкін і Путін, Гримаси "русского міра"Незалежний Медіа Форум, Гримаси "русского міра", Незалежний Медіа Форум, Independent Media Forum, IMF, www.uacenter.media" LIMIT 1;':

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:98
  at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:182)
  at Doctrine\DBAL\DBALException::wrapException()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:159)
  at Doctrine\DBAL\DBALException::driverExceptionDuringQuery()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:2226)
  at Doctrine\DBAL\Connection->handleExceptionDuringQuery()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:185)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:208)
  at Doctrine\DBAL\Statement->executeQuery()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Repository/TranslateRepository.php:57)
  at App\Repository\TranslateRepository->getName()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Twig/AppExtension.php:413)
  at App\Twig\AppExtension->loc()
     (var/cache/dev/twig/71/71094d0c5916bbe3f678ea533bd1cf76a0b3153dd4de4256bcb0cf4098a7b31e.php:690)
  at __TwigTemplate_9d8c9e5fd8f6be3120186e156573dce63109d7609b805706fa6af643f152e43e->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:408)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->block_body()
     (vendor/twig/twig/src/Template.php:182)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/92/929b7a6c86f65390f1679f137dec6ad18e9fb3fd43049776e251d74c46cd37c9.php:294)
  at __TwigTemplate_699bf1da84bf42ded309e8fdf2e9f19d4d218e1612219dc12de9424671cfcb97->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:59)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:235)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Controller/DefaultController.php:2830)
  at App\Controller\DefaultController->post()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:40)                

[2/4] Exception

Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119)
  at Doctrine\DBAL\Driver\PDOStatement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:179)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:208)
  at Doctrine\DBAL\Statement->executeQuery()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Repository/TranslateRepository.php:57)
  at App\Repository\TranslateRepository->getName()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Twig/AppExtension.php:413)
  at App\Twig\AppExtension->loc()
     (var/cache/dev/twig/71/71094d0c5916bbe3f678ea533bd1cf76a0b3153dd4de4256bcb0cf4098a7b31e.php:690)
  at __TwigTemplate_9d8c9e5fd8f6be3120186e156573dce63109d7609b805706fa6af643f152e43e->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:408)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->block_body()
     (vendor/twig/twig/src/Template.php:182)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/92/929b7a6c86f65390f1679f137dec6ad18e9fb3fd43049776e251d74c46cd37c9.php:294)
  at __TwigTemplate_699bf1da84bf42ded309e8fdf2e9f19d4d218e1612219dc12de9424671cfcb97->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:59)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:235)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Controller/DefaultController.php:2830)
  at App\Controller\DefaultController->post()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:40)                

[1/4] PDOException

PDOException:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'русского міра"Незалежний Медіа Форум, Грима' at line 1

  at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
  at PDOStatement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
  at Doctrine\DBAL\Driver\PDOStatement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:179)
  at Doctrine\DBAL\Statement->execute()
     (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:208)
  at Doctrine\DBAL\Statement->executeQuery()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Repository/TranslateRepository.php:57)
  at App\Repository\TranslateRepository->getName()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Twig/AppExtension.php:413)
  at App\Twig\AppExtension->loc()
     (var/cache/dev/twig/71/71094d0c5916bbe3f678ea533bd1cf76a0b3153dd4de4256bcb0cf4098a7b31e.php:690)
  at __TwigTemplate_9d8c9e5fd8f6be3120186e156573dce63109d7609b805706fa6af643f152e43e->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:408)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->block_body()
     (vendor/twig/twig/src/Template.php:182)
  at Twig\Template->displayBlock()
     (var/cache/dev/twig/92/929b7a6c86f65390f1679f137dec6ad18e9fb3fd43049776e251d74c46cd37c9.php:294)
  at __TwigTemplate_699bf1da84bf42ded309e8fdf2e9f19d4d218e1612219dc12de9424671cfcb97->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/a3/a3ad15a1440e88185b52b685651a8e6113ae7b8d52b9206645131e628832812f.php:59)
  at __TwigTemplate_f9e86720bc1e89019dce61ac31e239e6bf47567a2d57fac67778f6ed1c76a703->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:235)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (/home/admin/web/t.ukraine-inform.com/public_html/src/Controller/DefaultController.php:2830)
  at App\Controller\DefaultController->post()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:40)