I'm running the exact same code as in the official documentation and it still not working.
_PHP Fatal error: Uncaught League\Plates\Exception\RenderTemplateException: Template path /templates/profile.phtml is not a valid path for template: profile in /var/www/html/projects/test/vendor/league/plates/src/RenderTemplate/ValidatePathRenderTemplate.php:22
Stack trace:
The render method in v4.0.0-alpha is broken.
I'm running the exact same code as in the official documentation and it still not working.
_PHP Fatal error: Uncaught League\Plates\Exception\RenderTemplateException: Template path /templates/profile.phtml is not a valid path for template: profile in /var/www/html/projects/test/vendor/league/plates/src/RenderTemplate/ValidatePathRenderTemplate.php:22 Stack trace:
0 /var/www/html/projects/test/vendor/league/plates/src/Extension/LayoutSections/LayoutRenderTemplate.php(11): League\Plates\RenderTemplate\ValidatePathRenderTemplate->renderTemplate()
1 /var/www/html/projects/test/vendor/league/plates/src/RenderTemplate/ComposeRenderTemplate.php(17): League\Plates\Extension\LayoutSections\LayoutRenderTemplate->renderTemplate()
2 /var/www/html/projects/test/vendor/league/plates/src/Engine.php(41): League\Plates\RenderTemplate\ComposeRenderTemplate->renderTemplate()
3 /var/www/html/projects/test/index.php(7): League\Plates\Engine->render()
4 {main}
thrown in /var/www/html/projects/test/vendor/league/plates/src/RenderTemplate/ValidatePathRenderTemplate.php on line 22_