Symfony - Fatal error: uncaught 'Twig_Error_Loader' exception

I want to deploy a symfony project for production, but I get the following exception

Fatal error: Throwing a "Twig_Error_Loader" exception with the message "Directory / home / technqoc / public_html \ vendor \ symfony \ symfony \ src \ Symfony \ Bundle \ FrameworkBundle / Resources / views" does not exist. 'in / home / technqoc / public _html / vendor / twig / twig / lib / Twig / Loader / Filesystem.php: 93

I suspect this is because the server is trying to access the directory. How to change backslash for slash in directory path?

+4
source share
2 answers

Just clear any file and folder in the cache directory.

+4
source

@HPierce, , " ", , .

+3

Source: https://habr.com/ru/post/1599580/


All Articles