^ "Something wrong"
An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.created AS created_4, t0.updated AS updated_5, t0.account_id AS account_id_6, t0.user_id AS user_id_7, t8.id AS id_9, t8.budget AS budget_10, t8.cost AS cost_11, t8.reached AS reached_12, t8.engagements AS engagements_13, t8.clicks AS clicks_14, t8.person_id AS person_id_15, t16.id AS id_17, t16.title AS title_18, t16.website AS website_19, t16.person_id AS person_id_20, t16.address_id AS address_id_21, t16.media_id AS media_id_22, t0.address_id AS address_id_23, t0.photo_id AS photo_id_24 FROM profile__person t0 LEFT JOIN fb__report t8 ON t8.person_id = t0.id LEFT JOIN profile__company t16 ON t16.person_id = t0.id WHERE t0.account_id = ?' with params [3]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't16.website' in 'field list'"). (500 Internal Server Error)

Symfony Exception

An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.created AS created_4, t0.updated AS updated_5, t0.account_id AS account_id_6, t0.user_id AS user_id_7, t8.id AS id_9, t8.budget AS budget_10, t8.cost AS cost_11, t8.reached AS reached_12, t8.engagements AS engagements_13, t8.clicks AS clicks_14, t8.person_id AS person_id_15, t16.id AS id_17, t16.title AS title_18, t16.website AS website_19, t16.person_id AS person_id_20, t16.address_id AS address_id_21, t16.media_id AS media_id_22, t0.address_id AS address_id_23, t0.photo_id AS photo_id_24 FROM profile__person t0 LEFT JOIN fb__report t8 ON t8.person_id = t0.id LEFT JOIN profile__company t16 ON t16.person_id = t0.id WHERE t0.account_id = ?' with params [3]:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't16.website' in 'field list'").

Exceptions 4

Twig\Error\ RuntimeError

  1.     {{ parent() }}
  2. {% endblock %}
  3. {% block content %}
  4.  {{ render(controller('App\\Controller\\Notification\\MessageController::contactusAction')) }}
  5.     {# <section id="contact">
  6.         <div class="container">
  7.             <div class="row">
  8.                 <div class="col-md-6">
  1.         $this->displayBlock('menu'$context$blocks);
  2.         // line 133
  3.         echo "
  4. \t\t\t";
  5.         // line 134
  6.         $this->displayBlock('content'$context$blocks);
  7.         // line 135
  8.         echo "
  9. \t\t\t";
  10.         // line 136
  11.         $this->displayBlock('footer'$context$blocks);
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.         $this->displayBlock('head_javascript'$context$blocks);
  2.         // line 94
  3.         echo "
  4. \t\t";
  5.         // line 95
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 164
  8.         echo "
  9. \t\t<script src=\"";
  10.         // line 165
  11.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/aos.js"), "html"nulltrue);
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.         $macros $this->macros;
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""web\\contact.html.twig"));
  4.         $this->parent $this->loadTemplate("layout.html.twig""web\\contact.html.twig"1);
  5.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  8.     }
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.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->getEngine($name)->render($name$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @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);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
AbstractController->render() in src/Controller/WebController.php (line 41)
  1.      * @Method("GET")
  2.      * @Template()
  3.      */
  4.     public function contactAction(Request $request) {
  5.         return $this->render('web\contact.html.twig',[]);
  6.     }
  7.     /**
  8.      * Lists all English entities.
  9.      * @Route("/project", name="_project")
in vendor/symfony/http-kernel/HttpKernel.php->contactAction (line 158)
  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 25)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\DBAL\Exception\ InvalidFieldNameException

An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.type AS type_3, t0.created AS created_4, t0.updated AS updated_5, t0.account_id AS account_id_6, t0.user_id AS user_id_7, t8.id AS id_9, t8.budget AS budget_10, t8.cost AS cost_11, t8.reached AS reached_12, t8.engagements AS engagements_13, t8.clicks AS clicks_14, t8.person_id AS person_id_15, t16.id AS id_17, t16.title AS title_18, t16.website AS website_19, t16.person_id AS person_id_20, t16.address_id AS address_id_21, t16.media_id AS media_id_22, t0.address_id AS address_id_23, t0.photo_id AS photo_id_24 FROM profile__person t0 LEFT JOIN fb__report t8 ON t8.person_id = t0.id LEFT JOIN profile__company t16 ON t16.person_id = t0.id WHERE t0.account_id = ?' with params [3]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't16.website' in 'field list'

  1.                 return new UniqueConstraintViolationException($message$exception);
  2.             case '1054':
  3.             case '1166':
  4.             case '1611':
  5.                 return new InvalidFieldNameException($message$exception);
  6.             case '1052':
  7.             case '1060':
  8.             case '1110':
  9.                 return new NonUniqueFieldNameException($message$exception);
  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 static::wrapException($driver$driverEx$msg);
  5.     }
  6.     /**
  7.      * @deprecated
  8.      *
in vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php::driverExceptionDuringQuery (line 2212)
  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/Connection.php->handleExceptionDuringQuery (line 1299)
  1.             } else {
  2.                 $stmt $connection->query($sql);
  3.             }
  4.         } catch (Throwable $e) {
  5.             $this->handleExceptionDuringQuery(
  6.                 $e,
  7.                 $sql,
  8.                 $params,
  9.                 $types
  10.             );
  11.         }
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.             $computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
  2.                 $sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
  3.         }
  4.         $targetEntity $this->load($computedIdentifiernull$assoc);
  5.         if ($targetEntity !== null) {
  6.             $targetClass->setFieldValue($targetEntity$assoc['mappedBy'], $sourceEntity);
  7.         }
in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php->loadOneToOneEntity (line 2773)
  1.                             continue 2;
  2.                         }
  3.                         // Inverse side of x-to-one can never be lazy
  4.                         $class->reflFields[$field]->setValue($entity$this->getEntityPersister($assoc['targetEntity'])->loadOneToOneEntity($assoc$entity));
  5.                         continue 2;
  6.                     }
  7.                     // use the entity association
  1.             $this->registerManaged($this->_metadataCache[$className], $this->_hints[Query::HINT_REFRESH_ENTITY], $data);
  2.         }
  3.         $this->_hints['fetchAlias'] = $dqlAlias;
  4.         return $this->_uow->createEntity($className$data$this->_hints);
  5.     }
  6.     /**
  7.      * @psalm-param class-string $className
  8.      * @psalm-param array<string, mixed> $data
  1.                     continue;
  2.                 }
  3.                 // check for existing result from the iterations before
  4.                 if (! isset($this->identifierMap[$dqlAlias][$id[$dqlAlias]])) {
  5.                     $element $this->getEntity($data$dqlAlias);
  6.                     if ($this->_rsm->isMixed) {
  7.                         $element = [$entityKey => $element];
  8.                     }
  1.     protected function hydrateAllData()
  2.     {
  3.         $result = [];
  4.         while ($row $this->_stmt->fetch(PDO::FETCH_ASSOC)) {
  5.             $this->hydrateRowData($row$result);
  6.         }
  7.         // Take snapshots from all newly initialized collections
  8.         foreach ($this->initializedCollections as $coll) {
  9.             $coll->takeSnapshot();
  1.         $this->_em->getEventManager()->addEventListener([Events::onClear], $this);
  2.         $this->prepare();
  3.         try {
  4.             $result $this->hydrateAllData();
  5.         } finally {
  6.             $this->cleanup();
  7.         }
  8.         return $result;
  1.             return $stmt;
  2.         }
  3.         $rsm  $this->getResultSetMapping();
  4.         $data $this->_em->newHydrator($this->_hydrationMode)->hydrateAll($stmt$rsm$this->_hints);
  5.         $setCacheEntry($data);
  6.         return $data;
  7.     }
in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php->executeIgnoreQueryCache (line 1027)
  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.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getEntities()
  5.     {
  6.         return $this->queryBuilder->getQuery()->execute();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         if ($this->choiceList) {
  2.             return $this->choiceList;
  3.         }
  4.         $objects $this->objectLoader
  5.             $this->objectLoader->getEntities()
  6.             : $this->manager->getRepository($this->class)->findAll();
  7.         return $this->choiceList = new ArrayChoiceList($objects$value);
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getChoices()
  5.     {
  6.         return $this->loader->loadChoiceList($this->value)->getChoices();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     public function createView(ChoiceListInterface $list$preferredChoices null$label null$index null$groupBy null$attr null)
  2.     {
  3.         $preferredViews = [];
  4.         $preferredViewsOrder = [];
  5.         $otherViews = [];
  6.         $choices $list->getChoices();
  7.         $keys $list->getOriginalKeys();
  8.         if (!\is_callable($preferredChoices)) {
  9.             if (empty($preferredChoices)) {
  10.                 $preferredChoices null;
  1.             $attr = function ($choice) use ($accessor$attr) {
  2.                 return $accessor->getValue($choice$attr);
  3.             };
  4.         }
  5.         return $this->decoratedFactory->createView($list$preferredChoices$label$index$groupBy$attr);
  6.     }
  7. }
  1.         // factory may decide which input to accept and which not.
  2.         $hash self::generateHash([$list$preferredChoices$label$index$groupBy$attr]);
  3.         if (!isset($this->views[$hash])) {
  4.             $this->views[$hash] = $this->decoratedFactory->createView(
  5.                 $list,
  6.                 $preferredChoices,
  7.                 $label,
  8.                 $index,
  9.                 $groupBy,
  10.                 $attr
  1.             $choiceList,
  2.             $options['preferred_choices'],
  3.             $options['choice_label'],
  4.             $options['choice_name'],
  5.             $options['group_by'],
  6.             $options['choice_attr']
  7.         );
  8.     }
  9. }
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php->createChoiceListView (line 235)
  1.         $choiceList $form->getConfig()->getAttribute('choice_list');
  2.         /** @var ChoiceListView $choiceListView */
  3.         $choiceListView $form->getConfig()->hasAttribute('choice_list_view')
  4.             ? $form->getConfig()->getAttribute('choice_list_view')
  5.             : $this->createChoiceListView($choiceList$options);
  6.         $view->vars array_replace($view->vars, [
  7.             'multiple' => $options['multiple'],
  8.             'expanded' => $options['expanded'],
  9.             'preferred_choices' => $choiceListView->preferredChoices,
in vendor/symfony/form/ResolvedFormType.php->buildView (line 146)
  1.     {
  2.         if (null !== $this->parent) {
  3.             $this->parent->buildView($view$form$options);
  4.         }
  5.         $this->innerType->buildView($view$form$options);
  6.         foreach ($this->typeExtensions as $extension) {
  7.             $extension->buildView($view$form$options);
  8.         }
  9.     }
in vendor/symfony/form/ResolvedFormType.php->buildView (line 143)
  1.      * This method is called before the children of the view are built.
  2.      */
  3.     public function buildView(FormView $viewFormInterface $form, array $options)
  4.     {
  5.         if (null !== $this->parent) {
  6.             $this->parent->buildView($view$form$options);
  7.         }
  8.         $this->innerType->buildView($view$form$options);
  9.         foreach ($this->typeExtensions as $extension) {
in vendor/symfony/form/Form.php->buildView (line 1034)
  1.         // The methods createView(), buildView() and finishView() are called
  2.         // explicitly here in order to be able to override either of them
  3.         // in a custom resolved form type.
  4.         $view $type->createView($this$parent);
  5.         $type->buildView($view$this$options);
  6.         foreach ($this->children as $name => $child) {
  7.             $view->children[$name] = $child->createView($view);
  8.         }
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
Form->createView() in src/Controller/Notification/MessageController.php (line 64)
  1.         $template "bundles/SDRONotificationBundle/message/contactus.html.twig";
  2.         if (!$template)
  3.             $template "SDRONotificationBundle:message:contactus.html.twig";
  4.         return $this->render($template, [
  5.             'form' => $form->createView(),
  6.             'recaptchaSiteKey' => $_ENV["SITE_KEY"]
  7.         ]);
  8.     }
  9. }
in vendor/symfony/http-kernel/HttpKernel.php->contactusAction (line 158)
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.             $subRequest->attributes->add($reference->attributes);
  2.         }
  3.         $level ob_get_level();
  4.         try {
  5.             return SubRequestHandler::handle($this->kernel$subRequestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             // we dispatch the exception event to trigger the logging
  8.             // the response that comes back is ignored
  9.             if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
  10.                 $event = new ExceptionEvent($this->kernel$requestHttpKernelInterface::SUB_REQUEST$e);
  1.         if (!$request $this->requestStack->getCurrentRequest()) {
  2.             throw new \LogicException('Rendering a fragment can only be done when handling a Request.');
  3.         }
  4.         return $this->deliver($this->renderers[$renderer]->render($uri$request$options));
  5.     }
  6.     /**
  7.      * Delivers the Response as a string.
  8.      *
  1.         if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) {
  2.             $this->addRenderer($this->container->get($renderer));
  3.             $this->initialized[$renderer] = true;
  4.         }
  5.         return parent::render($uri$renderer$options);
  6.     }
  7. }
  1.     public function renderFragment($uri$options = [])
  2.     {
  3.         $strategy $options['strategy'] ?? 'inline';
  4.         unset($options['strategy']);
  5.         return $this->handler->render($uri$strategy$options);
  6.     }
  7.     /**
  8.      * Renders a fragment.
  9.      *
  1.         // line 42
  2.         echo "
  3.  ";
  4.         // line 43
  5.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Notification\\MessageController::contactusAction"));
  6.         echo "
  7.     ";
  8.         // line 93
  9.         echo "
in vendor/twig/twig/src/Template.php->block_content (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.         $this->displayBlock('menu'$context$blocks);
  2.         // line 133
  3.         echo "
  4. \t\t\t";
  5.         // line 134
  6.         $this->displayBlock('content'$context$blocks);
  7.         // line 135
  8.         echo "
  9. \t\t\t";
  10.         // line 136
  11.         $this->displayBlock('footer'$context$blocks);
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.         $this->displayBlock('head_javascript'$context$blocks);
  2.         // line 94
  3.         echo "
  4. \t\t";
  5.         // line 95
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 164
  8.         echo "
  9. \t\t<script src=\"";
  10.         // line 165
  11.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/aos.js"), "html"nulltrue);
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.         $macros $this->macros;
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""web\\contact.html.twig"));
  4.         $this->parent $this->loadTemplate("layout.html.twig""web\\contact.html.twig"1);
  5.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  8.     }
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.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->getEngine($name)->render($name$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @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);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
AbstractController->render() in src/Controller/WebController.php (line 41)
  1.      * @Method("GET")
  2.      * @Template()
  3.      */
  4.     public function contactAction(Request $request) {
  5.         return $this->render('web\contact.html.twig',[]);
  6.     }
  7.     /**
  8.      * Lists all English entities.
  9.      * @Route("/project", name="_project")
in vendor/symfony/http-kernel/HttpKernel.php->contactAction (line 158)
  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 25)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't16.website' in 'field list'

  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.                 [$sql$params$types] = SQLParserUtils::expandListParameters($sql$params$types);
  2.                 $stmt $connection->prepare($sql);
  3.                 if ($types) {
  4.                     $this->_bindTypedValues($stmt$params$types);
  5.                     $stmt->execute();
  6.                 } else {
  7.                     $stmt->execute($params);
  8.                 }
  9.             } else {
  10.                 $stmt $connection->query($sql);
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.             $computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
  2.                 $sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
  3.         }
  4.         $targetEntity $this->load($computedIdentifiernull$assoc);
  5.         if ($targetEntity !== null) {
  6.             $targetClass->setFieldValue($targetEntity$assoc['mappedBy'], $sourceEntity);
  7.         }
in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php->loadOneToOneEntity (line 2773)
  1.                             continue 2;
  2.                         }
  3.                         // Inverse side of x-to-one can never be lazy
  4.                         $class->reflFields[$field]->setValue($entity$this->getEntityPersister($assoc['targetEntity'])->loadOneToOneEntity($assoc$entity));
  5.                         continue 2;
  6.                     }
  7.                     // use the entity association
  1.             $this->registerManaged($this->_metadataCache[$className], $this->_hints[Query::HINT_REFRESH_ENTITY], $data);
  2.         }
  3.         $this->_hints['fetchAlias'] = $dqlAlias;
  4.         return $this->_uow->createEntity($className$data$this->_hints);
  5.     }
  6.     /**
  7.      * @psalm-param class-string $className
  8.      * @psalm-param array<string, mixed> $data
  1.                     continue;
  2.                 }
  3.                 // check for existing result from the iterations before
  4.                 if (! isset($this->identifierMap[$dqlAlias][$id[$dqlAlias]])) {
  5.                     $element $this->getEntity($data$dqlAlias);
  6.                     if ($this->_rsm->isMixed) {
  7.                         $element = [$entityKey => $element];
  8.                     }
  1.     protected function hydrateAllData()
  2.     {
  3.         $result = [];
  4.         while ($row $this->_stmt->fetch(PDO::FETCH_ASSOC)) {
  5.             $this->hydrateRowData($row$result);
  6.         }
  7.         // Take snapshots from all newly initialized collections
  8.         foreach ($this->initializedCollections as $coll) {
  9.             $coll->takeSnapshot();
  1.         $this->_em->getEventManager()->addEventListener([Events::onClear], $this);
  2.         $this->prepare();
  3.         try {
  4.             $result $this->hydrateAllData();
  5.         } finally {
  6.             $this->cleanup();
  7.         }
  8.         return $result;
  1.             return $stmt;
  2.         }
  3.         $rsm  $this->getResultSetMapping();
  4.         $data $this->_em->newHydrator($this->_hydrationMode)->hydrateAll($stmt$rsm$this->_hints);
  5.         $setCacheEntry($data);
  6.         return $data;
  7.     }
in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php->executeIgnoreQueryCache (line 1027)
  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.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getEntities()
  5.     {
  6.         return $this->queryBuilder->getQuery()->execute();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         if ($this->choiceList) {
  2.             return $this->choiceList;
  3.         }
  4.         $objects $this->objectLoader
  5.             $this->objectLoader->getEntities()
  6.             : $this->manager->getRepository($this->class)->findAll();
  7.         return $this->choiceList = new ArrayChoiceList($objects$value);
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getChoices()
  5.     {
  6.         return $this->loader->loadChoiceList($this->value)->getChoices();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     public function createView(ChoiceListInterface $list$preferredChoices null$label null$index null$groupBy null$attr null)
  2.     {
  3.         $preferredViews = [];
  4.         $preferredViewsOrder = [];
  5.         $otherViews = [];
  6.         $choices $list->getChoices();
  7.         $keys $list->getOriginalKeys();
  8.         if (!\is_callable($preferredChoices)) {
  9.             if (empty($preferredChoices)) {
  10.                 $preferredChoices null;
  1.             $attr = function ($choice) use ($accessor$attr) {
  2.                 return $accessor->getValue($choice$attr);
  3.             };
  4.         }
  5.         return $this->decoratedFactory->createView($list$preferredChoices$label$index$groupBy$attr);
  6.     }
  7. }
  1.         // factory may decide which input to accept and which not.
  2.         $hash self::generateHash([$list$preferredChoices$label$index$groupBy$attr]);
  3.         if (!isset($this->views[$hash])) {
  4.             $this->views[$hash] = $this->decoratedFactory->createView(
  5.                 $list,
  6.                 $preferredChoices,
  7.                 $label,
  8.                 $index,
  9.                 $groupBy,
  10.                 $attr
  1.             $choiceList,
  2.             $options['preferred_choices'],
  3.             $options['choice_label'],
  4.             $options['choice_name'],
  5.             $options['group_by'],
  6.             $options['choice_attr']
  7.         );
  8.     }
  9. }
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php->createChoiceListView (line 235)
  1.         $choiceList $form->getConfig()->getAttribute('choice_list');
  2.         /** @var ChoiceListView $choiceListView */
  3.         $choiceListView $form->getConfig()->hasAttribute('choice_list_view')
  4.             ? $form->getConfig()->getAttribute('choice_list_view')
  5.             : $this->createChoiceListView($choiceList$options);
  6.         $view->vars array_replace($view->vars, [
  7.             'multiple' => $options['multiple'],
  8.             'expanded' => $options['expanded'],
  9.             'preferred_choices' => $choiceListView->preferredChoices,
in vendor/symfony/form/ResolvedFormType.php->buildView (line 146)
  1.     {
  2.         if (null !== $this->parent) {
  3.             $this->parent->buildView($view$form$options);
  4.         }
  5.         $this->innerType->buildView($view$form$options);
  6.         foreach ($this->typeExtensions as $extension) {
  7.             $extension->buildView($view$form$options);
  8.         }
  9.     }
in vendor/symfony/form/ResolvedFormType.php->buildView (line 143)
  1.      * This method is called before the children of the view are built.
  2.      */
  3.     public function buildView(FormView $viewFormInterface $form, array $options)
  4.     {
  5.         if (null !== $this->parent) {
  6.             $this->parent->buildView($view$form$options);
  7.         }
  8.         $this->innerType->buildView($view$form$options);
  9.         foreach ($this->typeExtensions as $extension) {
in vendor/symfony/form/Form.php->buildView (line 1034)
  1.         // The methods createView(), buildView() and finishView() are called
  2.         // explicitly here in order to be able to override either of them
  3.         // in a custom resolved form type.
  4.         $view $type->createView($this$parent);
  5.         $type->buildView($view$this$options);
  6.         foreach ($this->children as $name => $child) {
  7.             $view->children[$name] = $child->createView($view);
  8.         }
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
Form->createView() in src/Controller/Notification/MessageController.php (line 64)
  1.         $template "bundles/SDRONotificationBundle/message/contactus.html.twig";
  2.         if (!$template)
  3.             $template "SDRONotificationBundle:message:contactus.html.twig";
  4.         return $this->render($template, [
  5.             'form' => $form->createView(),
  6.             'recaptchaSiteKey' => $_ENV["SITE_KEY"]
  7.         ]);
  8.     }
  9. }
in vendor/symfony/http-kernel/HttpKernel.php->contactusAction (line 158)
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.             $subRequest->attributes->add($reference->attributes);
  2.         }
  3.         $level ob_get_level();
  4.         try {
  5.             return SubRequestHandler::handle($this->kernel$subRequestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             // we dispatch the exception event to trigger the logging
  8.             // the response that comes back is ignored
  9.             if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
  10.                 $event = new ExceptionEvent($this->kernel$requestHttpKernelInterface::SUB_REQUEST$e);
  1.         if (!$request $this->requestStack->getCurrentRequest()) {
  2.             throw new \LogicException('Rendering a fragment can only be done when handling a Request.');
  3.         }
  4.         return $this->deliver($this->renderers[$renderer]->render($uri$request$options));
  5.     }
  6.     /**
  7.      * Delivers the Response as a string.
  8.      *
  1.         if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) {
  2.             $this->addRenderer($this->container->get($renderer));
  3.             $this->initialized[$renderer] = true;
  4.         }
  5.         return parent::render($uri$renderer$options);
  6.     }
  7. }
  1.     public function renderFragment($uri$options = [])
  2.     {
  3.         $strategy $options['strategy'] ?? 'inline';
  4.         unset($options['strategy']);
  5.         return $this->handler->render($uri$strategy$options);
  6.     }
  7.     /**
  8.      * Renders a fragment.
  9.      *
  1.         // line 42
  2.         echo "
  3.  ";
  4.         // line 43
  5.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Notification\\MessageController::contactusAction"));
  6.         echo "
  7.     ";
  8.         // line 93
  9.         echo "
in vendor/twig/twig/src/Template.php->block_content (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.         $this->displayBlock('menu'$context$blocks);
  2.         // line 133
  3.         echo "
  4. \t\t\t";
  5.         // line 134
  6.         $this->displayBlock('content'$context$blocks);
  7.         // line 135
  8.         echo "
  9. \t\t\t";
  10.         // line 136
  11.         $this->displayBlock('footer'$context$blocks);
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.         $this->displayBlock('head_javascript'$context$blocks);
  2.         // line 94
  3.         echo "
  4. \t\t";
  5.         // line 95
  6.         $this->displayBlock('body'$context$blocks);
  7.         // line 164
  8.         echo "
  9. \t\t<script src=\"";
  10.         // line 165
  11.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/aos.js"), "html"nulltrue);
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.         $macros $this->macros;
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""web\\contact.html.twig"));
  4.         $this->parent $this->loadTemplate("layout.html.twig""web\\contact.html.twig"1);
  5.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  6.         
  7.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  8.     }
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.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->getEngine($name)->render($name$parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @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);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
AbstractController->render() in src/Controller/WebController.php (line 41)
  1.      * @Method("GET")
  2.      * @Template()
  3.      */
  4.     public function contactAction(Request $request) {
  5.         return $this->render('web\contact.html.twig',[]);
  6.     }
  7.     /**
  8.      * Lists all English entities.
  9.      * @Route("/project", name="_project")
in vendor/symfony/http-kernel/HttpKernel.php->contactAction (line 158)
  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 25)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

PDOException

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't16.website' in 'field list'

  1.      * {@inheritdoc}
  2.      */
  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.      * {@inheritdoc}
  2.      */
  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.                 [$sql$params$types] = SQLParserUtils::expandListParameters($sql$params$types);
  2.                 $stmt $connection->prepare($sql);
  3.                 if ($types) {
  4.                     $this->_bindTypedValues($stmt$params$types);
  5.                     $stmt->execute();
  6.                 } else {
  7.                     $stmt->execute($params);
  8.                 }
  9.             } else {
  10.                 $stmt $connection->query($sql);
  1.     {
  2.         $this->switchPersisterContext(null$limit);
  3.         $sql              $this->getSelectSQL($criteria$assoc$lockMode$limitnull$orderBy);
  4.         [$params$types] = $this->expandParameters($criteria);
  5.         $stmt             $this->conn->executeQuery($sql$params$types);
  6.         if ($entity !== null) {
  7.             $hints[Query::HINT_REFRESH]        = true;
  8.             $hints[Query::HINT_REFRESH_ENTITY] = $entity;
  9.         }
  1.             $computedIdentifier[$targetClass->getFieldForColumn($targetKeyColumn)] =
  2.                 $sourceClass->reflFields[$sourceClass->fieldNames[$sourceKeyColumn]]->getValue($sourceEntity);
  3.         }
  4.         $targetEntity $this->load($computedIdentifiernull$assoc);
  5.         if ($targetEntity !== null) {
  6.             $targetClass->setFieldValue($targetEntity$assoc['mappedBy'], $sourceEntity);
  7.         }
in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php->loadOneToOneEntity (line 2773)
  1.                             continue 2;
  2.                         }
  3.                         // Inverse side of x-to-one can never be lazy
  4.                         $class->reflFields[$field]->setValue($entity$this->getEntityPersister($assoc['targetEntity'])->loadOneToOneEntity($assoc$entity));
  5.                         continue 2;
  6.                     }
  7.                     // use the entity association
  1.             $this->registerManaged($this->_metadataCache[$className], $this->_hints[Query::HINT_REFRESH_ENTITY], $data);
  2.         }
  3.         $this->_hints['fetchAlias'] = $dqlAlias;
  4.         return $this->_uow->createEntity($className$data$this->_hints);
  5.     }
  6.     /**
  7.      * @psalm-param class-string $className
  8.      * @psalm-param array<string, mixed> $data
  1.                     continue;
  2.                 }
  3.                 // check for existing result from the iterations before
  4.                 if (! isset($this->identifierMap[$dqlAlias][$id[$dqlAlias]])) {
  5.                     $element $this->getEntity($data$dqlAlias);
  6.                     if ($this->_rsm->isMixed) {
  7.                         $element = [$entityKey => $element];
  8.                     }
  1.     protected function hydrateAllData()
  2.     {
  3.         $result = [];
  4.         while ($row $this->_stmt->fetch(PDO::FETCH_ASSOC)) {
  5.             $this->hydrateRowData($row$result);
  6.         }
  7.         // Take snapshots from all newly initialized collections
  8.         foreach ($this->initializedCollections as $coll) {
  9.             $coll->takeSnapshot();
  1.         $this->_em->getEventManager()->addEventListener([Events::onClear], $this);
  2.         $this->prepare();
  3.         try {
  4.             $result $this->hydrateAllData();
  5.         } finally {
  6.             $this->cleanup();
  7.         }
  8.         return $result;
  1.             return $stmt;
  2.         }
  3.         $rsm  $this->getResultSetMapping();
  4.         $data $this->_em->newHydrator($this->_hydrationMode)->hydrateAll($stmt$rsm$this->_hints);
  5.         $setCacheEntry($data);
  6.         return $data;
  7.     }
in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php->executeIgnoreQueryCache (line 1027)
  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.      *
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getEntities()
  5.     {
  6.         return $this->queryBuilder->getQuery()->execute();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.         if ($this->choiceList) {
  2.             return $this->choiceList;
  3.         }
  4.         $objects $this->objectLoader
  5.             $this->objectLoader->getEntities()
  6.             : $this->manager->getRepository($this->class)->findAll();
  7.         return $this->choiceList = new ArrayChoiceList($objects$value);
  8.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function getChoices()
  5.     {
  6.         return $this->loader->loadChoiceList($this->value)->getChoices();
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      */
  1.     public function createView(ChoiceListInterface $list$preferredChoices null$label null$index null$groupBy null$attr null)
  2.     {
  3.         $preferredViews = [];
  4.         $preferredViewsOrder = [];
  5.         $otherViews = [];
  6.         $choices $list->getChoices();
  7.         $keys $list->getOriginalKeys();
  8.         if (!\is_callable($preferredChoices)) {
  9.             if (empty($preferredChoices)) {
  10.                 $preferredChoices null;
  1.             $attr = function ($choice) use ($accessor$attr) {
  2.                 return $accessor->getValue($choice$attr);
  3.             };
  4.         }
  5.         return $this->decoratedFactory->createView($list$preferredChoices$label$index$groupBy$attr);
  6.     }
  7. }
  1.         // factory may decide which input to accept and which not.
  2.         $hash self::generateHash([$list$preferredChoices$label$index$groupBy$attr]);
  3.         if (!isset($this->views[$hash])) {
  4.             $this->views[$hash] = $this->decoratedFactory->createView(
  5.                 $list,
  6.                 $preferredChoices,
  7.                 $label,
  8.                 $index,
  9.                 $groupBy,
  10.                 $attr
  1.             $choiceList,
  2.             $options['preferred_choices'],
  3.             $options['choice_label'],
  4.             $options['choice_name'],
  5.             $options['group_by'],
  6.             $options['choice_attr']
  7.         );
  8.     }
  9. }
in vendor/symfony/form/Extension/Core/Type/ChoiceType.php->createChoiceListView (line 235)
  1.         $choiceList $form->getConfig()->getAttribute('choice_list');
  2.         /** @var ChoiceListView $choiceListView */
  3.         $choiceListView $form->getConfig()->hasAttribute('choice_list_view')
  4.             ? $form->getConfig()->getAttribute('choice_list_view')
  5.             : $this->createChoiceListView($choiceList$options);
  6.         $view->vars array_replace($view->vars, [
  7.             'multiple' => $options['multiple'],
  8.             'expanded' => $options['expanded'],
  9.             'preferred_choices' => $choiceListView->preferredChoices,
in vendor/symfony/form/ResolvedFormType.php->buildView (line 146)
  1.     {
  2.         if (null !== $this->parent) {
  3.             $this->parent->buildView($view$form$options);
  4.         }
  5.         $this->innerType->buildView($view$form$options);
  6.         foreach ($this->typeExtensions as $extension) {
  7.             $extension->buildView($view$form$options);
  8.         }
  9.     }
in vendor/symfony/form/ResolvedFormType.php->buildView (line 143)
  1.      * This method is called before the children of the view are built.
  2.      */
  3.     public function buildView(FormView $viewFormInterface $form, array $options)
  4.     {
  5.         if (null !== $this->parent) {
  6.             $this->parent->buildView($view$form$options);
  7.         }
  8.         $this->innerType->buildView($view$form$options);
  9.         foreach ($this->typeExtensions as $extension) {
in vendor/symfony/form/Form.php->buildView (line 1034)
  1.         // The methods createView(), buildView() and finishView() are called
  2.         // explicitly here in order to be able to override either of them
  3.         // in a custom resolved form type.
  4.         $view $type->createView($this$parent);
  5.         $type->buildView($view$this$options);
  6.         foreach ($this->children as $name => $child) {
  7.             $view->children[$name] = $child->createView($view);
  8.         }
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
in vendor/symfony/form/Form.php->createView (line 1037)
  1.         $view $type->createView($this$parent);
  2.         $type->buildView($view$this$options);
  3.         foreach ($this->children as $name => $child) {
  4.             $view->children[$name] = $child->createView($view);
  5.         }
  6.         $type->finishView($view$this$options);
  7.         return $view;
Form->createView() in src/Controller/Notification/MessageController.php (line 64)
  1.         $template "bundles/SDRONotificationBundle/message/contactus.html.twig";
  2.         if (!$template)
  3.             $template "SDRONotificationBundle:message:contactus.html.twig";
  4.         return $this->render($template, [
  5.             'form' => $form->createView(),
  6.             'recaptchaSiteKey' => $_ENV["SITE_KEY"]
  7.         ]);
  8.     }
  9. }
in vendor/symfony/http-kernel/HttpKernel.php->contactusAction (line 158)
  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.         if (!IpUtils::checkIp('127.0.0.1'$trustedProxies)) {
  2.             Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
  3.         }
  4.         try {
  5.             return $kernel->handle($request$type$catch);
  6.         } finally {
  7.             // restore global state
  8.             Request::setTrustedProxies($trustedProxies$trustedHeaderSet);
  9.         }
  10.     }
  1.             $subRequest->attributes->add($reference->attributes);
  2.         }
  3.         $level ob_get_level();
  4.         try {
  5.             return SubRequestHandler::handle($this->kernel$subRequestHttpKernelInterface::SUB_REQUESTfalse);
  6.         } catch (\Exception $e) {
  7.             // we dispatch the exception event to trigger the logging
  8.             // the response that comes back is ignored
  9.             if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
  10.                 $event = new ExceptionEvent($this->kernel$requestHttpKernelInterface::SUB_REQUEST$e);
  1.         if (!$request $this->requestStack->getCurrentRequest()) {
  2.             throw new \LogicException('Rendering a fragment can only be done when handling a Request.');
  3.         }
  4.         return $this->deliver($this->renderers[$renderer]->render($uri$request$options));
  5.     }
  6.     /**
  7.      * Delivers the Response as a string.
  8.      *
  1.         if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) {
  2.             $this->addRenderer($this->container->get($renderer));
  3.             $this->initialized[$renderer] = true;
  4.         }
  5.         return parent::render($uri$renderer$options);
  6.     }
  7. }
  1.     public function renderFragment($uri$options = [])
  2.     {
  3.         $strategy $options['strategy'] ?? 'inline';
  4.         unset($options['strategy']);
  5.         return $this->handler->render($uri$strategy$options);
  6.     }
  7.     /**
  8.      * Renders a fragment.
  9.      *
  1.         // line 42
  2.         echo "
  3.  ";
  4.         // line 43
  5.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Notification\\MessageController::contactusAction"));
  6.         echo "
  7.     ";
  8.         // line 93
  9.         echo "
in vendor/twig/twig/src/Template.php->block_content (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.                 }