rcrowe / TwigBridge

Give the power of Twig to Laravel
MIT License
894 stars 166 forks source link

Lumen - Cannot instantiate Twig extension 'TwigBridge\Extension\Laravel\Auth #289

Open NK-WEB-Git opened 7 years ago

NK-WEB-Git commented 7 years ago

Hello everyone, I am very confused because of this

Cannot instantiate Twig extension 'TwigBridge\Extension\Laravel\Auth': Unresolvable dependency resolving [Parameter #0 [ $app ]] in class Illuminate\Auth\AuthManager

I just did what the documentation tells us to do for installation for lumen. Is anyone has had this error or how to fix it please?

Used Lumen Version: 5.3 PHP 5.6

mayrop commented 7 years ago

I was getting that same issue and what I did was to comment this line in the "twigbridge.php" `'TwigBridge\Extension\Laravel\Auth'.

This is under extensions.enabled.

imManish commented 5 years ago

I am getting the same issue could you please update if it is fixed?