Unable to find template "CondorPageBundle:Page:en/kontakt.html.twig".
500 Internal Server Error -
InvalidArgumentException
3 linked Exceptions:
-
Twig_Error_Loader »
-
InvalidArgumentException »
-
InvalidArgumentException »
[4/4]
InvalidArgumentException: Unable to find template "CondorPageBundle:Page:en/kontakt.html.twig".
-
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 136
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
}
}
-
at
TwigEngine
->load
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 59
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('CondorPageBundle:Page:en/kontakt.html.twig', array())
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('CondorPageBundle:Page:en/kontakt.html.twig', array(), null)
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 98
*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/src/Condor/PageBundle/Controller/PageController.php at line 13
public function indexAction($slug)
{
return $this->render('CondorPageBundle:Page:'.$slug.'.html.twig');
}
}
-
at
PageController
->indexAction
('en/kontakt')
-
at
call_user_func_array
(array(object(PageController), 'indexAction'), array('en/kontakt'))
in kernel.root_dir/cache/prod/classes.php at line 3905
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/cache/prod/classes.php at line 3875
public 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/cache/prod/classes.php at line 4852
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 547
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/narzedzie.pl/httpdocs/web/app.php at line 12
$kernel = new AppKernel('prod', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$kernel->handle(Request::createFromGlobals())->send();
[3/4]
Twig_Error_Loader: Unable to find template "CondorPageBundle:Page:en/kontakt.html.twig".
-
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 82
}
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
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/twig/lib/Twig/Loader/Filesystem.php at line 98
*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5924
*/
public function getTemplateClass($name)
{
return $this->templateClassPrefix.md5($this->loader->getCacheKey($name));
}
/**
* Gets the template class prefix.
-
at
Twig_Environment
->getTemplateClass
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5966
*/
public function loadTemplate($name)
{
$cls = $this->getTemplateClass($name);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 134
}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 59
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('CondorPageBundle:Page:en/kontakt.html.twig', array())
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('CondorPageBundle:Page:en/kontakt.html.twig', array(), null)
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 98
*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/src/Condor/PageBundle/Controller/PageController.php at line 13
public function indexAction($slug)
{
return $this->render('CondorPageBundle:Page:'.$slug.'.html.twig');
}
}
-
at
PageController
->indexAction
('en/kontakt')
-
at
call_user_func_array
(array(object(PageController), 'indexAction'), array('en/kontakt'))
in kernel.root_dir/cache/prod/classes.php at line 3905
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/cache/prod/classes.php at line 3875
public 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/cache/prod/classes.php at line 4852
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 547
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/narzedzie.pl/httpdocs/web/app.php at line 12
$kernel = new AppKernel('prod', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$kernel->handle(Request::createFromGlobals())->send();
[2/4]
InvalidArgumentException: Unable to find template "CondorPageBundle:Page:en/kontakt.html.twig" : "Unable to find file "@CondorPageBundle/Resources/views/Page/en/kontakt.html.twig".".
-
in kernel.root_dir/cache/prod/classes.php at line 1577
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/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 69
try {
$template = $this->parser->parse($template);
try {
$file = $this->locator->locate($template);
} catch (\InvalidArgumentException $e) {
$previous = $e;
}
-
at
FilesystemLoader
->findTemplate
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/twig/lib/Twig/Loader/Filesystem.php at line 98
*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5924
*/
public function getTemplateClass($name)
{
return $this->templateClassPrefix.md5($this->loader->getCacheKey($name));
}
/**
* Gets the template class prefix.
-
at
Twig_Environment
->getTemplateClass
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5966
*/
public function loadTemplate($name)
{
$cls = $this->getTemplateClass($name);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 134
}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 59
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('CondorPageBundle:Page:en/kontakt.html.twig', array())
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('CondorPageBundle:Page:en/kontakt.html.twig', array(), null)
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 98
*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/src/Condor/PageBundle/Controller/PageController.php at line 13
public function indexAction($slug)
{
return $this->render('CondorPageBundle:Page:'.$slug.'.html.twig');
}
}
-
at
PageController
->indexAction
('en/kontakt')
-
at
call_user_func_array
(array(object(PageController), 'indexAction'), array('en/kontakt'))
in kernel.root_dir/cache/prod/classes.php at line 3905
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/cache/prod/classes.php at line 3875
public 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/cache/prod/classes.php at line 4852
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 547
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/narzedzie.pl/httpdocs/web/app.php at line 12
$kernel = new AppKernel('prod', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$kernel->handle(Request::createFromGlobals())->send();
[1/4]
InvalidArgumentException: Unable to find file "@CondorPageBundle/Resources/views/Page/en/kontakt.html.twig".
-
in kernel.root_dir/bootstrap.php.cache at line 640
return $first && $isResource ? $files[0] : $files;
}
throw new \InvalidArgumentException(sprintf('Unable to find file "%s".', $name));
}
-
at
Kernel
->locateResource
('@CondorPageBundle/Resources/views/Page/en/kontakt.html.twig', '/var/www/vhosts/narzedzie.pl/httpdocs/app/Resources', true)
in kernel.root_dir/cache/prod/classes.php at line 4489
public function locate($file, $currentPath = null, $first = true)
{
if ('@' === $file[0]) {
return $this->kernel->locateResource($file, $this->path, $first);
}
return parent::locate($file, $currentPath, $first);
-
at
FileLocator
->locate
('@CondorPageBundle/Resources/views/Page/en/kontakt.html.twig', null)
in kernel.root_dir/cache/prod/classes.php at line 1575
}
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/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php at line 69
try {
$template = $this->parser->parse($template);
try {
$file = $this->locator->locate($template);
} catch (\InvalidArgumentException $e) {
$previous = $e;
}
-
at
FilesystemLoader
->findTemplate
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/twig/lib/Twig/Loader/Filesystem.php at line 98
*/
public function getCacheKey($name)
{
return $this->findTemplate($name);
}
/**
-
at
Twig_Loader_Filesystem
->getCacheKey
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5924
*/
public function getTemplateClass($name)
{
return $this->templateClassPrefix.md5($this->loader->getCacheKey($name));
}
/**
* Gets the template class prefix.
-
at
Twig_Environment
->getTemplateClass
('CondorPageBundle:Page:en/kontakt.html.twig')
in kernel.root_dir/cache/prod/classes.php at line 5966
*/
public function loadTemplate($name)
{
$cls = $this->getTemplateClass($name);
if (isset($this->loadedTemplates[$cls])) {
return $this->loadedTemplates[$cls];
}
-
at
Twig_Environment
->loadTemplate
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 134
}
try {
return $this->environment->loadTemplate($name);
} catch (\Twig_Error_Loader $e) {
throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
}
-
at
TwigEngine
->load
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 59
*/
public function render($name, array $parameters = array())
{
return $this->load($name)->render($parameters);
}
/**
-
at
TwigEngine
->render
('CondorPageBundle:Page:en/kontakt.html.twig', array())
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 113
$response = new Response();
}
$response->setContent($this->render($view, $parameters));
return $response;
}
-
at
TwigEngine
->renderResponse
('CondorPageBundle:Page:en/kontakt.html.twig', array(), null)
in /var/www/vhosts/narzedzie.pl/httpdocs/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 98
*/
public function render($view, array $parameters = array(), Response $response = null)
{
return $this->container->get('templating')->renderResponse($view, $parameters, $response);
}
/**
-
at
Controller
->render
('CondorPageBundle:Page:en/kontakt.html.twig')
in /var/www/vhosts/narzedzie.pl/httpdocs/src/Condor/PageBundle/Controller/PageController.php at line 13
public function indexAction($slug)
{
return $this->render('CondorPageBundle:Page:'.$slug.'.html.twig');
}
}
-
at
PageController
->indexAction
('en/kontakt')
-
at
call_user_func_array
(array(object(PageController), 'indexAction'), array('en/kontakt'))
in kernel.root_dir/cache/prod/classes.php at line 3905
$arguments = $this->resolver->getArguments($request, $controller);
$response = call_user_func_array($controller, $arguments);
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/cache/prod/classes.php at line 3875
public 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/cache/prod/classes.php at line 4852
$this->container->set('request', $request, 'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->leaveScope('request');
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 547
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
-
at
Kernel
->handle
(object(Request))
in /var/www/vhosts/narzedzie.pl/httpdocs/web/app.php at line 12
$kernel = new AppKernel('prod', true);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$kernel->handle(Request::createFromGlobals())->send();
Logs