Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'Twig\Loader\Filesystemloader' not found #58

Open
weblegko opened this issue May 26, 2020 · 2 comments
Open

Class 'Twig\Loader\Filesystemloader' not found #58

weblegko opened this issue May 26, 2020 · 2 comments

Comments

@weblegko
Copy link

Do not work app.
screenshot_1

@redarrowdriver
Copy link

redarrowdriver commented May 27, 2020

Replacing line 47 with:
$loader = new \Twig\Loader\FilesystemLoader(dirname(__DIR__) . '/App/Views');
should get everything working for you. Issue is caused by Filesystemloader needing to be FilesystemLoader

@ribafs
Copy link

ribafs commented Jun 14, 2020

Thank you for your example.

The currect are FilesystemLoader and not Filesystemloader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants