This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
L5.2: Specifying ardent as driver for user provider for in auth.php causes "Authentication user provider [ardent] is not defined" error #290
Labels
This may be on my end and I may just be misunderstanding the implementation, but when specifying Ardent as the Default Authentication Driver provider in 5.2's auth.php I start getting the error below. If I switch the provider to Eloquent instead, my app loads, however any call to any Ardent model results in nginx kicking out a Bad Gateway error. I've been trying to resolve this for three days. Is Ardent just not compatible with 5.2 at this point?
InvalidArgumentException in CreatesUserProviders.php line 40:
Authentication user provider [ardent] is not defined.
in CreatesUserProviders.php line 40
at AuthManager->createUserProvider('users') in AuthManager.php line 104
at AuthManager->createSessionDriver('web', array('driver' => 'session', 'provider' => 'users')) in AuthManager.php line 79
at AuthManager->resolve('web') in AuthManager.php line 57
at AuthManager->guard() in AuthManager.php line 246
at AuthManager->__call('guest', array()) in Facade.php line 215
at Facade::__callStatic('guest', array()) in routes.php line 91
at RouteServiceProvider->{closure}(object(Router))
at call_user_func(object(Closure), object(Router)) in Router.php line 377
at Router->group(array('middleware' => 'fw-block-bl|auth|admin-redirect'), object(Closure)) in Facade.php line 221
at Facade::__callStatic('group', array(array('middleware' => 'fw-block-bl|auth|admin-redirect'), object(Closure))) in routes.php line 98
at require('/home/vagrant/code/cr/app/Http/routes.php') in RouteServiceProvider.php line 40
at RouteServiceProvider->App\Providers{closure}(object(Router))
at call_user_func(object(Closure), object(Router)) in Router.php line 377
at Router->group(array('namespace' => 'App\Http\Controllers'), object(Closure)) in RouteServiceProvider.php line 41
at RouteServiceProvider->map(object(Router))
at call_user_func_array(array(object(RouteServiceProvider), 'map'), array(object(Router))) in Container.php line 507
at Container->call(array(object(RouteServiceProvider), 'map')) in RouteServiceProvider.php line 72
at RouteServiceProvider->loadRoutes() in RouteServiceProvider.php line 31
at RouteServiceProvider->boot(object(Router)) in RouteServiceProvider.php line 27
at RouteServiceProvider->boot(object(Router))
at call_user_func_array(array(object(RouteServiceProvider), 'boot'), array(object(Router))) in Container.php line 507
at Container->call(array(object(RouteServiceProvider), 'boot')) in Application.php line 734
at Application->bootProvider(object(RouteServiceProvider)) in Application.php line 717
at Application->Illuminate\Foundation{closure}(object(RouteServiceProvider), '14')
at array_walk(array(object(EventServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FoundationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(StorageServiceProvider), object(AwsCsServiceProvider), object(ReportingServiceProvider), object(ZipAlertsServiceProvider), object(ExportServiceProvider), object(RoutingServiceProvider), object(ImportServiceProvider), object(DailyLogServiceProvider), object(JobSeekerReportServiceProvider), object(ClickCastServiceProvider), object(ClickReportingServiceProvider), object(MajorTranslationServiceProvider), object(YoutubeServiceProvider), object(ServiceProvider), object(ComposerServiceProvider), object(CommanderServiceProvider)), object(Closure)) in Application.php line 718
at Application->boot() in BootProviders.php line 17
at BootProviders->bootstrap(object(Application)) in Application.php line 203
at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 232
at Kernel->bootstrap() in Kernel.php line 127
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53
The text was updated successfully, but these errors were encountered: