hey @danyal14 , have you checked the Upgrade guide first:
?
And this one as well as the documentation says:
Hi Guys,
I am running user API via Lumen + LumenPassword, everything was working fine until I upgraded api from Lumen 5.7 to 5.8
I start getting following error
(1/1) Error
Call to undefined method Laravel\Lumen\Application::group()
in LumenPassport.php line 88
at LumenPassport::routes(object(Application))
in AuthServiceProvider.php line 36
at AuthServiceProvider->boot()
at call_user_func_array(array(object(AuthServiceProvider), 'boot'), array())
in BoundMethod.php line 32
Then following some solutions from Google I updated the AuthServiceProvider
\Dusterio\LumenPassport\LumenPassport::routes($this->app);
To
\Dusterio\LumenPassport\LumenPassport::routes($this->app->router);
Now I am getting following error
[2020-01-02 12:10:27] local.ERROR: Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager in /var/www/apps/apis/api_user/vendor/illuminate/container/Container.php
Any idea what to fix?
Please or to participate in this conversation.