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

Twig View Extension #76

Closed
julylegaspi opened this issue Feb 24, 2017 · 5 comments
Closed

Twig View Extension #76

julylegaspi opened this issue Feb 24, 2017 · 5 comments

Comments

@julylegaspi
Copy link

After updating my composer.json I get this error.

Unable to register extension "Slim\Views\TwigExtension" as it is already registered.

@shahariaazam
Copy link

@julzpalomiano where are you getting this error? On composer output or in your app? Composer is not supposed to produce this itself?
Where are you using this?

@julylegaspi
Copy link
Author

@shahariaazam I got this error when I reload my page after updating my composer.json..
pls see screenshot http://imgur.com/a/s4Y9m
thanks

@geggleto
Copy link
Member

@julzpalomiano going to need to see some of your code. The only time this would happen is if you are actually registering the extension twice.

@akrabat
Copy link
Member

akrabat commented May 7, 2018

Closing this issue as there has been no activity in some while. Please reopen if this is still a problem and provide further details.

@akrabat akrabat closed this as completed May 7, 2018
@X-Tender
Copy link

X-Tender commented Apr 1, 2022

I know that the ticket is closed but maybe it could help someone who fall into this problem again.
The Reason (for me) was that from the version 3.3 the Twig View add the TwigExtension by himself. It's not required to add it again.

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

5 participants