{{ get_block('BreadCrumb', '', admin) }}
{{ get_block('PageTitle', '', admin) }}
{{ get_block('SocialShare', '', admin) }}
{{ get_block('EventsGrid', '', admin, {"banner":{"show":true,"file":"mega-january-sale.png"}}) }}
{{ get_block('KeyFacts', '3a3b2851-e7cc-40eb-884c-530dd2ec28bd', admin) }}
{{ get_block('StandardContent', '31902ef3-b270-4a8f-8bd9-c26485dd592f', admin, {"ecal_link": ""}) }}
{{ get_block('DriverGrid', '', false, {'provider': 'events', "card_type": "EVENT_CARD_CTA", 'slider': true, "banner":{"show":true,"file":"mega-january-sale.png"}}) }}
{{ get_block('SalesforceForm', '220a469b-2989-406e-b087-4892b1aff153', admin) }}
{% endblock %}
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/HerefordRacecourse/partial/theme-global.twig"));
$this->parent = $this->loadTemplate("/global/page.twig", "/HerefordRacecourse/partial/theme-global.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/whats-on/landing.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
if ($this->container->has('templating')) {
@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);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
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".');
}
if (null === $response) {
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$blockData['data']['paragraph']['text'] = "Paragraph";
}
}
// Item based cta's?
if (key_exists('items', $blockData['data'])) {
foreach ($blockData['data']['items'] as &$cta) {
$cta['cta']['valid_uuid'] = Uuid::isValid($cta['cta']['url']) ? true : false;
// Run safe .pdf download check.
$cta['cta']['visible'] = $this->isSafePdfDownload($this->templateDir . $cta['cta']['url']);
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
if ($request->getSession()) {
$subRequest->setSession($request->getSession());
}
/** @var Response $response */
$response = $this->app->handle($subRequest, HttpKernelInterface::SUB_REQUEST, false);
// Clear arguments, prevent from cascading down through the blocks.
$request->request->set('args', []);
return $response->getContent();
// line 25
echo $this->extensions['App\Lib\TwigExtension']->getBlock("KeyFacts", "3a3b2851-e7cc-40eb-884c-530dd2ec28bd", (isset($context["admin"]) || array_key_exists("admin", $context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.', 25, $this->source); })()));
echo "
";
// line 26
echo $this->extensions['App\Lib\TwigExtension']->getBlock("StandardContent", "31902ef3-b270-4a8f-8bd9-c26485dd592f", (isset($context["admin"]) || array_key_exists("admin", $context) ? $context["admin"] : (function () { throw new RuntimeError('Variable "admin" does not exist.', 26, $this->source); })()), ["ecal_link" => ""]);
echo "
";
// line 27
echo $this->extensions['App\Lib\TwigExtension']->getBlock("DriverGrid", "", false, ["provider" => "events", "card_type" => "EVENT_CARD_CTA", "slider" => true, "banner" => ["show" => true, "file" => "mega-january-sale.png"]]);
echo "
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/HerefordRacecourse/partial/theme-global.twig"));
$this->parent = $this->loadTemplate("/global/page.twig", "/HerefordRacecourse/partial/theme-global.twig", 2);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/whats-on/landing.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
if ($this->container->has('templating')) {
@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);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
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".');
}
if (null === $response) {
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
[2/2] RuntimeError |
---|
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Notice: Undefined index: data"). at templates/HerefordRacecourse/whats-on/landing.twig:26 at Twig\Template->displayBlock('content', array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (var/cache/dev/twig/26/26fb6addcb03d52892e5d532124d2454b41d6766f08a07550a03819925e39a01.php:165) at __TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (var/cache/dev/twig/c6/c6cfa7669381180b0634e4c87227fddb0240d0276cd05f84ba9c4dcc6248ea52.php:46) at __TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (var/cache/dev/twig/a8/a8847e3bea29ab593a86bf91c65bc5ecacf046dd8afbf0eb19a121988553c6fb.php:48) at __TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false)) (vendor/twig/twig/src/Template.php:390) at Twig\Template->render(array('admin' => false), array()) (vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render(array('admin' => false)) (vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render('/whats-on/landing.twig', array('admin' => false)) (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:234) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('/whats-on/landing.twig', array('admin' => false)) (src/Controller/WhatsOnController.php:221) at App\Controller\WhatsOnController->eventsLanding(object(Request), 'HerefordRacecourse') (vendor/symfony/http-kernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:198) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:31) |
[1/2] ErrorException |
---|
ErrorException: Notice: Undefined index: data at vendor/arc-digital/arc-web-blocks/StandardContent/StandardContent.php:84 at ArcWebBlocks\StandardContent\StandardContent->render(array()) (vendor/symfony/http-kernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2) (vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false) (src/Lib/TwigExtension.php:335) at App\Lib\TwigExtension->getBlock('standard-content', '31902ef3-b270-4a8f-8bd9-c26485dd592f', false, array('ecal_link' => '')) (var/cache/dev/twig/a8/a8847e3bea29ab593a86bf91c65bc5ecacf046dd8afbf0eb19a121988553c6fb.php:153) at __TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5->block_content(array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock('content', array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (var/cache/dev/twig/26/26fb6addcb03d52892e5d532124d2454b41d6766f08a07550a03819925e39a01.php:165) at __TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('globalmeta' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_globalmeta'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'styles' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_styles'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'head' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_head'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'endBodyScripts' => array(object(__TwigTemplate_4c297fa418b1712ce8bac1a24f45f778bd525d56d9d9863e333d7f17e4583a39), 'block_endBodyScripts'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (var/cache/dev/twig/c6/c6cfa7669381180b0634e4c87227fddb0240d0276cd05f84ba9c4dcc6248ea52.php:46) at __TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('headercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_headercontent'), 'footercontent' => array(object(__TwigTemplate_8367567fa1752f4b8aa41d604321af43b0266f380141f7abb5cc73c4d9d1f869), 'block_footercontent'), 'metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (var/cache/dev/twig/a8/a8847e3bea29ab593a86bf91c65bc5ecacf046dd8afbf0eb19a121988553c6fb.php:48) at __TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5->doDisplay(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:405) at Twig\Template->displayWithErrorHandling(array('admin' => false, 'app' => object(AppVariable)), array('metadata' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_metadata'), 'title' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_title'), 'headscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_headscripts'), 'bodyscripts' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_bodyscripts'), 'content' => array(object(__TwigTemplate_327cb1bf56bd5aba1bd0c055734efc353e8c2ae53b135da1eefc098e3b6724e5), 'block_content'))) (vendor/twig/twig/src/Template.php:378) at Twig\Template->display(array('admin' => false)) (vendor/twig/twig/src/Template.php:390) at Twig\Template->render(array('admin' => false), array()) (vendor/twig/twig/src/TemplateWrapper.php:45) at Twig\TemplateWrapper->render(array('admin' => false)) (vendor/twig/twig/src/Environment.php:318) at Twig\Environment->render('/whats-on/landing.twig', array('admin' => false)) (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:234) at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('/whats-on/landing.twig', array('admin' => false)) (src/Controller/WhatsOnController.php:221) at App\Controller\WhatsOnController->eventsLanding(object(Request), 'HerefordRacecourse') (vendor/symfony/http-kernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:198) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:31) |