sviv
sviv copied to clipboard
Doesn't work. Template error
The error is on the lines {{ inertiaHead(page) }}
and {{inertia(page) }}
in templates/app.html.twig
. I see those same functions in the inertia-bundle
project which appears to be what this project is based on. Looking at that project, I see those functions defined in Twig/IntertiaExtension.php
but I don't see them defined anywhere in this project.
Here is the full stack trace.
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Could not resolve host "node".").
at D:\xampp\htdocs\sviv\templates\app.html.twig:8
at Twig\Template->displayWithErrorHandling()
(D:\xampp\htdocs\sviv\vendor\twig\twig\src\Template.php:378)
at Twig\Template->display()
(D:\xampp\htdocs\sviv\vendor\twig\twig\src\Template.php:390)
at Twig\Template->render()
(D:\xampp\htdocs\sviv\vendor\twig\twig\src\TemplateWrapper.php:45)
at Twig\TemplateWrapper->render()
(D:\xampp\htdocs\sviv\vendor\twig\twig\src\Environment.php:318)
at Twig\Environment->render()
(D:\xampp\htdocs\sviv\vendor\rompetomp\inertia-bundle\Service\Inertia.php:177)
at Rompetomp\InertiaBundle\Service\Inertia->render()
(D:\xampp\htdocs\sviv\src\Controller\WelcomeController.php:18)
at App\Controller\WelcomeController->welcome()
(D:\xampp\htdocs\sviv\vendor\symfony\http-kernel\HttpKernel.php:152)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(D:\xampp\htdocs\sviv\vendor\symfony\http-kernel\HttpKernel.php:74)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(D:\xampp\htdocs\sviv\vendor\symfony\http-kernel\Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(D:\xampp\htdocs\sviv\vendor\symfony\runtime\Runner\Symfony\HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(D:\xampp\htdocs\sviv\vendor\autoload_runtime.php:29)
at require_once('D:\\xampp\\htdocs\\sviv\\vendor\\autoload_runtime.php')
(D:\xampp\htdocs\sviv\public\index.php:5)