[4/4] InvalidArgumentException: Unable to find template "::GeoELayout.html.twig".
-
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 133
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
}
}
-
at
TwigEngine
->load
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null)
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php at line 603$entity = $em->getRepository('GeoECoreBundle:Escenari')->findOneById($id);
$url = $this->get('router')->generate('escenari_iframe', array('id' => $id), TRUE);
return $this->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => $entity, 'url' => $url ));
}
public function iframeAction($id)
- at EscenariController ->previewAction ('64')
-
at
call_user_func_array
(array(object(EscenariController), 'previewAction'), array('64'))
in kernel.root_dir/bootstrap.php.cache at line 2844$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2818public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2947$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2249if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/mschools-mhm/web/app_mhm.php at line 16$kernel = new AppKernel('mhm', true);
$kernel->loadClassCache();
$kernel->handle(Request::createFromGlobals())->send();
[3/4] Twig_Error_Loader: Unable to find template "::GeoELayout.html.twig".
-
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 105
}
if (false === $file || null === $file) {
throw new \Twig_Error_Loader(sprintf('Unable to find template "%s".', $logicalName), -1, null, $previous);
}
return $this->cache[$logicalName] = $file;
-
at
FilesystemLoader
->findTemplate
('::GeoELayout.html.twig')
in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php at line 138*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/classes.php at line 2891if (isset($this->templateClasses[$cls])) {
return $this->templateClasses[$cls];
}
return $this->templateClasses[$cls] = $this->templateClassPrefix.hash('sha256', $this->getLoader()->getCacheKey($name)).$suffix;
}
public function getTemplateClassPrefix()
{
-
at
Twig_Environment
->getTemplateClass
('::GeoELayout.html.twig', null)
in kernel.root_dir/cache/mhm/classes.php at line 2907}
public function loadTemplate($name, $index = null)
{
$cls = $this->getTemplateClass($name, $index);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php at line 10{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("::GeoELayout.html.twig");
$this->blocks = array(
'title' => array($this, 'block_title'),
-
at
__TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d
->__construct
(object(Twig_Environment))
in kernel.root_dir/cache/mhm/classes.php at line 2924if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
public function isTemplateFresh($name, $time)
{
-
at
Twig_Environment
->loadTemplate
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 131}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null)
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php at line 603$entity = $em->getRepository('GeoECoreBundle:Escenari')->findOneById($id);
$url = $this->get('router')->generate('escenari_iframe', array('id' => $id), TRUE);
return $this->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => $entity, 'url' => $url ));
}
public function iframeAction($id)
- at EscenariController ->previewAction ('64')
-
at
call_user_func_array
(array(object(EscenariController), 'previewAction'), array('64'))
in kernel.root_dir/bootstrap.php.cache at line 2844$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2818public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2947$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2249if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/mschools-mhm/web/app_mhm.php at line 16$kernel = new AppKernel('mhm', true);
$kernel->loadClassCache();
$kernel->handle(Request::createFromGlobals())->send();
[2/4] InvalidArgumentException: Unable to find template "::GeoELayout.html.twig" : "The file "views/GeoELayout.html.twig" does not exist (in: /var/www/mschools-mhm/app/Resources).".
-
in kernel.root_dir/cache/mhm/classes.php at line 781
try {
return $this->cache[$key] = $this->locator->locate($template->getPath(), $currentPath);
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(sprintf('Unable to find template "%s" : "%s".', $template, $e->getMessage()), 0, $e);
}
}
}
-
at
TemplateLocator
->locate
(object(TemplateReference))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 95try {
$template = $this->parser->parse($template);
try {
$file = $this->locator->locate($template);
} catch (\InvalidArgumentException $e) {
$previous = $e;
}
-
at
FilesystemLoader
->findTemplate
('::GeoELayout.html.twig')
in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php at line 138*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/classes.php at line 2891if (isset($this->templateClasses[$cls])) {
return $this->templateClasses[$cls];
}
return $this->templateClasses[$cls] = $this->templateClassPrefix.hash('sha256', $this->getLoader()->getCacheKey($name)).$suffix;
}
public function getTemplateClassPrefix()
{
-
at
Twig_Environment
->getTemplateClass
('::GeoELayout.html.twig', null)
in kernel.root_dir/cache/mhm/classes.php at line 2907}
public function loadTemplate($name, $index = null)
{
$cls = $this->getTemplateClass($name, $index);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php at line 10{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("::GeoELayout.html.twig");
$this->blocks = array(
'title' => array($this, 'block_title'),
-
at
__TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d
->__construct
(object(Twig_Environment))
in kernel.root_dir/cache/mhm/classes.php at line 2924if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
public function isTemplateFresh($name, $time)
{
-
at
Twig_Environment
->loadTemplate
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 131}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null)
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php at line 603$entity = $em->getRepository('GeoECoreBundle:Escenari')->findOneById($id);
$url = $this->get('router')->generate('escenari_iframe', array('id' => $id), TRUE);
return $this->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => $entity, 'url' => $url ));
}
public function iframeAction($id)
- at EscenariController ->previewAction ('64')
-
at
call_user_func_array
(array(object(EscenariController), 'previewAction'), array('64'))
in kernel.root_dir/bootstrap.php.cache at line 2844$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2818public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2947$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2249if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/mschools-mhm/web/app_mhm.php at line 16$kernel = new AppKernel('mhm', true);
$kernel->loadClassCache();
$kernel->handle(Request::createFromGlobals())->send();
[1/4] InvalidArgumentException: The file "views/GeoELayout.html.twig" does not exist (in: /var/www/mschools-mhm/app/Resources).
-
in kernel.root_dir/cache/mhm/classes.php at line 1521
}
}
if (!$filepaths) {
throw new \InvalidArgumentException(sprintf('The file "%s" does not exist (in: %s%s).', $name, null !== $currentPath ? $currentPath.', ':'', implode(', ', $this->paths)));
}
return array_values(array_unique($filepaths));
}
-
at
FileLocator
->locate
('views/GeoELayout.html.twig', null, true)
in kernel.root_dir/cache/mhm/classes.php at line 2201if ('@'=== $file[0]) {
return $this->kernel->locateResource($file, $this->path, $first);
}
return parent::locate($file, $currentPath, $first);
}
}
}
-
at
FileLocator
->locate
('views/GeoELayout.html.twig', null)
in kernel.root_dir/cache/mhm/classes.php at line 779return $this->cache[$key];
}
try {
return $this->cache[$key] = $this->locator->locate($template->getPath(), $currentPath);
} catch (\InvalidArgumentException $e) {
throw new \InvalidArgumentException(sprintf('Unable to find template "%s" : "%s".', $template, $e->getMessage()), 0, $e);
}
-
at
TemplateLocator
->locate
(object(TemplateReference))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 95try {
$template = $this->parser->parse($template);
try {
$file = $this->locator->locate($template);
} catch (\InvalidArgumentException $e) {
$previous = $e;
}
-
at
FilesystemLoader
->findTemplate
('::GeoELayout.html.twig')
in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php at line 138*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/classes.php at line 2891if (isset($this->templateClasses[$cls])) {
return $this->templateClasses[$cls];
}
return $this->templateClasses[$cls] = $this->templateClassPrefix.hash('sha256', $this->getLoader()->getCacheKey($name)).$suffix;
}
public function getTemplateClassPrefix()
{
-
at
Twig_Environment
->getTemplateClass
('::GeoELayout.html.twig', null)
in kernel.root_dir/cache/mhm/classes.php at line 2907}
public function loadTemplate($name, $index = null)
{
$cls = $this->getTemplateClass($name, $index);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('::GeoELayout.html.twig')
in kernel.root_dir/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php at line 10{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("::GeoELayout.html.twig");
$this->blocks = array(
'title' => array($this, 'block_title'),
-
at
__TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d
->__construct
(object(Twig_Environment))
in kernel.root_dir/cache/mhm/classes.php at line 2924if (!$this->runtimeInitialized) {
$this->initRuntime();
}
return $this->loadedTemplates[$cls] = new $cls($this);
}
public function isTemplateFresh($name, $time)
{
-
at
Twig_Environment
->loadTemplate
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 131}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('GeoECoreBundle:Iframe:preview.html.twig')
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 53*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 79public function render($name, array $parameters = array())
{
try {
return parent::render($name, $parameters);
} catch (\Twig_Error $e) {
if ($name instanceof TemplateReference) {
try {
-
at
TwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php at line 52{
$e = $this->stopwatch->start(sprintf('template.twig (%s)', $name), 'template');
$ret = parent::render($name, $parameters);
$e->stop();
-
at
TimedTwigEngine
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 108$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null)
in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 106*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'))
in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php at line 603$entity = $em->getRepository('GeoECoreBundle:Escenari')->findOneById($id);
$url = $this->get('router')->generate('escenari_iframe', array('id' => $id), TRUE);
return $this->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => $entity, 'url' => $url ));
}
public function iframeAction($id)
- at EscenariController ->previewAction ('64')
-
at
call_user_func_array
(array(object(EscenariController), 'previewAction'), array('64'))
in kernel.root_dir/bootstrap.php.cache at line 2844$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2818public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2947$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2249if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request))
in /var/www/mschools-mhm/web/app_mhm.php at line 16$kernel = new AppKernel('mhm', true);
$kernel->loadClassCache();
$kernel->handle(Request::createFromGlobals())->send();
Stack Trace (Plain Text)
[1] InvalidArgumentException: Unable to find template "::GeoELayout.html.twig". at n/a in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 133 at Symfony\Bridge\Twig\TwigEngine->load('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php line 603 at GeoE\CoreBundle\Controller\EscenariController->previewAction('64') in line at call_user_func_array(array(object(EscenariController), 'previewAction'), array('64')) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2844 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/mschools-mhm/app/bootstrap.php.cache line 2818 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2947 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2249 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/mschools-mhm/web/app_mhm.php line 16 [2] Twig_Error_Loader: Unable to find template "::GeoELayout.html.twig". at n/a in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php line 105 at Symfony\Bundle\TwigBundle\Loader\FilesystemLoader->findTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php line 138 at Twig_Loader_Filesystem->getCacheKey('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2891 at Twig_Environment->getTemplateClass('::GeoELayout.html.twig', null) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2907 at Twig_Environment->loadTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php line 10 at __TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d->__construct(object(Twig_Environment)) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2924 at Twig_Environment->loadTemplate('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 131 at Symfony\Bridge\Twig\TwigEngine->load('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php line 603 at GeoE\CoreBundle\Controller\EscenariController->previewAction('64') in line at call_user_func_array(array(object(EscenariController), 'previewAction'), array('64')) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2844 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/mschools-mhm/app/bootstrap.php.cache line 2818 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2947 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2249 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/mschools-mhm/web/app_mhm.php line 16 [3] InvalidArgumentException: Unable to find template "::GeoELayout.html.twig" : "The file "views/GeoELayout.html.twig" does not exist (in: /var/www/mschools-mhm/app/Resources).". at n/a in /var/www/mschools-mhm/app/cache/mhm/classes.php line 781 at Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator->locate(object(TemplateReference)) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php line 95 at Symfony\Bundle\TwigBundle\Loader\FilesystemLoader->findTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php line 138 at Twig_Loader_Filesystem->getCacheKey('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2891 at Twig_Environment->getTemplateClass('::GeoELayout.html.twig', null) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2907 at Twig_Environment->loadTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php line 10 at __TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d->__construct(object(Twig_Environment)) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2924 at Twig_Environment->loadTemplate('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 131 at Symfony\Bridge\Twig\TwigEngine->load('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php line 603 at GeoE\CoreBundle\Controller\EscenariController->previewAction('64') in line at call_user_func_array(array(object(EscenariController), 'previewAction'), array('64')) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2844 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/mschools-mhm/app/bootstrap.php.cache line 2818 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2947 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2249 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/mschools-mhm/web/app_mhm.php line 16 [4] InvalidArgumentException: The file "views/GeoELayout.html.twig" does not exist (in: /var/www/mschools-mhm/app/Resources). at n/a in /var/www/mschools-mhm/app/cache/mhm/classes.php line 1521 at Symfony\Component\Config\FileLocator->locate('views/GeoELayout.html.twig', null, true) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2201 at Symfony\Component\HttpKernel\Config\FileLocator->locate('views/GeoELayout.html.twig', null) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 779 at Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator->locate(object(TemplateReference)) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php line 95 at Symfony\Bundle\TwigBundle\Loader\FilesystemLoader->findTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/vendor/twig/twig/lib/Twig/Loader/Filesystem.php line 138 at Twig_Loader_Filesystem->getCacheKey('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2891 at Twig_Environment->getTemplateClass('::GeoELayout.html.twig', null) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2907 at Twig_Environment->loadTemplate('::GeoELayout.html.twig') in /var/www/mschools-mhm/app/cache/mhm/twig/95/ed/4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d.php line 10 at __TwigTemplate_95ed4d79a049c583e7a28f34d0f520e11b6113c9577b695ecf5d47144145fa1d->__construct(object(Twig_Environment)) in /var/www/mschools-mhm/app/cache/mhm/classes.php line 2924 at Twig_Environment->loadTemplate('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 131 at Symfony\Bridge\Twig\TwigEngine->load('GeoECoreBundle:Iframe:preview.html.twig') in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe'), null) in /var/www/mschools-mhm/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('GeoECoreBundle:Iframe:preview.html.twig', array('entity' => object(Escenari), 'url' => 'https://mhm.mobileworldcapital.com/en/escenari/%24puntId64/iframe')) in /var/www/mschools-mhm/src/GeoE/CoreBundle/Controller/EscenariController.php line 603 at GeoE\CoreBundle\Controller\EscenariController->previewAction('64') in line at call_user_func_array(array(object(EscenariController), 'previewAction'), array('64')) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2844 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /var/www/mschools-mhm/app/bootstrap.php.cache line 2818 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2947 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /var/www/mschools-mhm/app/bootstrap.php.cache line 2249 at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) in /var/www/mschools-mhm/web/app_mhm.php line 16