[2025-10-21 20:24:49] local.ERROR: View [medication-sales.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationSaleController.php(23): view('medication-sale...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:25:52] local.ERROR: View [medications.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medications.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medications.ind...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medications.ind...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medications.ind...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationController.php(20): view('medications.ind...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:25:57] local.ERROR: View [medication-sales.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationSaleController.php(23): view('medication-sale...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:26:15] local.ERROR: View [medications.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medications.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medications.ind...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medications.ind...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medications.ind...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationController.php(20): view('medications.ind...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:36:19] local.ERROR: View [medication-sales.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationSaleController.php(23): view('medication-sale...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:36:30] local.ERROR: View [medication-sales.index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.index] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationSaleController.php(23): view('medication-sale...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->index() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'index') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #53 {main} "} [2025-10-21 20:53:23] local.ERROR: SQLSTATE[HY000]: General error: 1 table "roles" already exists (Connection: sqlite, SQL: create table "roles" ("id" integer primary key autoincrement not null, "name" varchar not null, "display_name" varchar not null, "description" text, "is_active" tinyint(1) not null default '1', "created_at" datetime, "updated_at" datetime)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1 table \"roles\" already exists (Connection: sqlite, SQL: create table \"roles\" (\"id\" integer primary key autoincrement not null, \"name\" varchar not null, \"display_name\" varchar not null, \"description\" text, \"is_active\" tinyint(1) not null default '1', \"created_at\" datetime, \"updated_at\" datetime)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table \"r...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table \"r...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table \"r...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('roles', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_204523_create_roles_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2045...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2045...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 3, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 table \"roles\" already exists at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:564) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(564): PDO->prepare('create table \"r...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('create table \"r...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table \"r...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table \"r...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table \"r...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('roles', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_204523_create_roles_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2045...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2045...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 3, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-21 20:55:23] local.ERROR: SQLSTATE[HY000]: General error: 1 no such table: permission_role (Connection: sqlite, SQL: insert into "permission_role" ("permission_id", "role_id") values (1, 1), (2, 1), (3, 1), (4, 1), (5, 1), (6, 1), (7, 1), (8, 1), (9, 1), (10, 1), (11, 1), (12, 1), (13, 1), (14, 1), (15, 1), (16, 1), (17, 1), (18, 1), (19, 1), (20, 1), (21, 1), (22, 1), (23, 1), (24, 1), (25, 1), (26, 1), (27, 1), (28, 1), (29, 1), (30, 1), (31, 1), (32, 1), (33, 1)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1 no such table: permission_role (Connection: sqlite, SQL: insert into \"permission_role\" (\"permission_id\", \"role_id\") values (1, 1), (2, 1), (3, 1), (4, 1), (5, 1), (6, 1), (7, 1), (8, 1), (9, 1), (10, 1), (11, 1), (12, 1), (13, 1), (14, 1), (15, 1), (16, 1), (17, 1), (18, 1), (19, 1), (20, 1), (21, 1), (22, 1), (23, 1), (24, 1), (25, 1), (26, 1), (27, 1), (28, 1), (29, 1), (30, 1), (31, 1), (32, 1), (33, 1)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"pe...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"pe...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"pe...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3804): Illuminate\\Database\\Connection->insert('insert into \"pe...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php(274): Illuminate\\Database\\Query\\Builder->insert(Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(55): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->attach(Object(Illuminate\\Database\\Eloquent\\Collection)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(45): Database\\Seeders\\RoleSeeder->assignPermissionsToRole(Object(App\\Models\\Role)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\RoleSeeder->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(184): Illuminate\\Container\\Container->call(Array, Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(193): Illuminate\\Database\\Seeder->Illuminate\\Database\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(71): Illuminate\\Database\\Seeder->__invoke() #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php(157): Illuminate\\Database\\Console\\Seeds\\SeedCommand->Illuminate\\Database\\Console\\Seeds\\{closure}() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(70): Illuminate\\Database\\Eloquent\\Model::unguarded(Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Seeds\\SeedCommand->handle() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Seeds\\SeedCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #31 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 no such table: permission_role at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:564) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(564): PDO->prepare('insert into \"pe...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into \"pe...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"pe...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"pe...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"pe...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3804): Illuminate\\Database\\Connection->insert('insert into \"pe...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php(274): Illuminate\\Database\\Query\\Builder->insert(Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(55): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->attach(Object(Illuminate\\Database\\Eloquent\\Collection)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(45): Database\\Seeders\\RoleSeeder->assignPermissionsToRole(Object(App\\Models\\Role)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\RoleSeeder->run() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(184): Illuminate\\Container\\Container->call(Array, Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(193): Illuminate\\Database\\Seeder->Illuminate\\Database\\{closure}() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(71): Illuminate\\Database\\Seeder->__invoke() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php(157): Illuminate\\Database\\Console\\Seeds\\SeedCommand->Illuminate\\Database\\Console\\Seeds\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(70): Illuminate\\Database\\Eloquent\\Model::unguarded(Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Seeds\\SeedCommand->handle() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Seeds\\SeedCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #33 {main} "} [2025-10-21 20:55:51] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: roles.name (Connection: sqlite, SQL: insert into "roles" ("name", "display_name", "description", "updated_at", "created_at") values (admin, Administrateur, Administrateur système avec tous les privilèges, 2025-10-21 20:55:51, 2025-10-21 20:55:51)) {"exception":"[object] (Illuminate\\Database\\UniqueConstraintViolationException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: roles.name (Connection: sqlite, SQL: insert into \"roles\" (\"name\", \"display_name\", \"description\", \"updated_at\", \"created_at\") values (admin, Administrateur, Administrateur système avec tous les privilèges, 2025-10-21 20:55:51, 2025-10-21 20:55:51)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:819) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"ro...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"ro...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"ro...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert('insert into \"ro...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into \"ro...', Array, 'id') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\Role)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\Role), Object(Closure)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(42): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\RoleSeeder->run() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(184): Illuminate\\Container\\Container->call(Array, Array) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(193): Illuminate\\Database\\Seeder->Illuminate\\Database\\{closure}() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(71): Illuminate\\Database\\Seeder->__invoke() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php(157): Illuminate\\Database\\Console\\Seeds\\SeedCommand->Illuminate\\Database\\Console\\Seeds\\{closure}() #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(70): Illuminate\\Database\\Eloquent\\Model::unguarded(Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Seeds\\SeedCommand->handle() #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Seeds\\SeedCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #40 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: roles.name at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into \"ro...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"ro...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"ro...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"ro...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert('insert into \"ro...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into \"ro...', Array, 'id') #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\Role)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\Role), Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/seeders/RoleSeeder.php(42): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Database\\Seeders\\RoleSeeder->run() #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(184): Illuminate\\Container\\Container->call(Array, Array) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Seeder.php(193): Illuminate\\Database\\Seeder->Illuminate\\Database\\{closure}() #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(71): Illuminate\\Database\\Seeder->__invoke() #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php(157): Illuminate\\Database\\Console\\Seeds\\SeedCommand->Illuminate\\Database\\Console\\Seeds\\{closure}() #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php(70): Illuminate\\Database\\Eloquent\\Model::unguarded(Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Seeds\\SeedCommand->handle() #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Seeds\\SeedCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #42 {main} "} [2025-10-21 21:31:22] local.ERROR: App\Models\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) {"userId":1,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(Illuminate\\View\\ViewException), 1) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #57 {main} [previous exception] [object] (Illuminate\\View\\ViewException(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(TypeError), 2) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/6eb01b38f590136d8a314150d73a43fe.php(300): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #65 {main} [previous exception] [object] (TypeError(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php(146): App\\Models\\User->hasRole(Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/6eb01b38f590136d8a314150d73a43fe.php(300): Illuminate\\View\\View->render() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #68 {main} "} [2025-10-21 21:31:42] local.ERROR: App\Models\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) {"userId":1,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(Illuminate\\View\\ViewException), 1) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #57 {main} [previous exception] [object] (Illuminate\\View\\ViewException(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/layouts/app.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(TypeError), 2) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/6eb01b38f590136d8a314150d73a43fe.php(300): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #65 {main} [previous exception] [object] (TypeError(code: 0): App\\Models\\User::hasRole(): Argument #1 ($role) must be of type string, array given, called in /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php on line 146 at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Models/User.php:87) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/e98fb54f1bdb80ab79eb3733ed10045f.php(146): App\\Models\\User->hasRole(Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/6eb01b38f590136d8a314150d73a43fe.php(300): Illuminate\\View\\View->render() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #68 {main} "} [2025-10-21 22:31:33] local.ERROR: SQLSTATE[HY000]: General error: 1 no such table: role_user (Connection: sqlite, SQL: select "users".*, "role_user"."role_id" as "pivot_role_id", "role_user"."user_id" as "pivot_user_id" from "users" inner join "role_user" on "users"."id" = "role_user"."user_id" where "role_user"."role_id" = 1) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/roles/index.blade.php) {"userId":1,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): SQLSTATE[HY000]: General error: 1 no such table: role_user (Connection: sqlite, SQL: select \"users\".*, \"role_user\".\"role_id\" as \"pivot_role_id\", \"role_user\".\"user_id\" as \"pivot_user_id\" from \"users\" inner join \"role_user\" on \"users\".\"id\" = \"role_user\".\"user_id\" where \"role_user\".\"role_id\" = 1) (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/roles/index.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(Illuminate\\Database\\QueryException), 1) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_roles') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #59 {main} [previous exception] [object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1 no such table: role_user (Connection: sqlite, SQL: select \"users\".*, \"role_user\".\"role_id\" as \"pivot_role_id\", \"role_user\".\"user_id\" as \"pivot_user_id\" from \"users\" inner join \"role_user\" on \"users\".\"id\" = \"role_user\".\"user_id\" where \"role_user\".\"role_id\" = 1) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select \"users\"....', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select \"users\"....', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select \"users\"....', Array, true) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php(910): Illuminate\\Database\\Eloquent\\Builder->getModels() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php(894): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->get() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(635): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->getResults() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(573): Illuminate\\Database\\Eloquent\\Model->getRelationshipFromMethod('users') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(494): Illuminate\\Database\\Eloquent\\Model->getRelationValue('users') #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2423): Illuminate\\Database\\Eloquent\\Model->getAttribute('users') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/93fef2bcfbfdb6b8c8393b51717e2553.php(108): Illuminate\\Database\\Eloquent\\Model->__get('users') #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_roles') #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #68 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #69 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #70 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #71 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #72 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #73 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #74 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #75 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 no such table: role_user at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:406) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(406): PDO->prepare('select \"users\"....') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('select \"users\"....', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select \"users\"....', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select \"users\"....', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select \"users\"....', Array, true) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(902): Illuminate\\Database\\Query\\Builder->get(Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php(910): Illuminate\\Database\\Eloquent\\Builder->getModels() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php(894): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->get() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(635): Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany->getResults() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(573): Illuminate\\Database\\Eloquent\\Model->getRelationshipFromMethod('users') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php(494): Illuminate\\Database\\Eloquent\\Model->getRelationValue('users') #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2423): Illuminate\\Database\\Eloquent\\Model->getAttribute('users') #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/93fef2bcfbfdb6b8c8393b51717e2553.php(108): Illuminate\\Database\\Eloquent\\Model->__get('users') #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_roles') #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #68 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #69 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #70 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #71 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #72 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #73 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #74 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #75 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #76 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #77 {main} "} [2025-10-21 22:46:12] local.ERROR: Call to undefined method App\Http\Controllers\QuickSaleController::downloadReceiptPdf() {"userId":4,"exception":"[object] (Error(code: 0): Call to undefined method App\\Http\\Controllers\\QuickSaleController::downloadReceiptPdf() at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:46) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\QuickSaleController), 'downloadReceipt...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|reception...') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #52 {main} "} [2025-10-21 23:17:41] local.ERROR: Attempt to read property "name" on null (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/quick-sale/receipt.blade.php) {"userId":4,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Attempt to read property \"name\" on null (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/quick-sale/receipt.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/50e650435a951f74d863944bfbce517d.php:291) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/barryvdh/laravel-dompdf/src/PDF.php(142): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/barryvdh/laravel-dompdf/src/Facade/Pdf.php(66): Barryvdh\\DomPDF\\PDF->loadView('quick-sale.rece...', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/QuickSaleController.php(293): Barryvdh\\DomPDF\\Facade\\Pdf::__callStatic('loadView', Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\QuickSaleController->downloadReceiptPdf(Object(App\\Models\\CashReceipt)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\QuickSaleController), 'downloadReceipt...') #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|reception...') #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #61 {main} [previous exception] [object] (ErrorException(code: 0): Attempt to read property \"name\" on null at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/50e650435a951f74d863944bfbce517d.php:291) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Attempt to read...', '/Applications/X...', 291) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/50e650435a951f74d863944bfbce517d.php(291): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Attempt to read...', '/Applications/X...', 291) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/barryvdh/laravel-dompdf/src/PDF.php(142): Illuminate\\View\\View->render() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/barryvdh/laravel-dompdf/src/Facade/Pdf.php(66): Barryvdh\\DomPDF\\PDF->loadView('quick-sale.rece...', Array) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/QuickSaleController.php(293): Barryvdh\\DomPDF\\Facade\\Pdf::__callStatic('loadView', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\QuickSaleController->downloadReceiptPdf(Object(App\\Models\\CashReceipt)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\QuickSaleController), 'downloadReceipt...') #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|reception...') #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #65 {main} "} [2025-10-21 23:29:39] local.ERROR: View [medication-sales.show] not found. {"userId":3,"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.show] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/MedicationSaleController.php(197): view('medication-sale...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->show(Object(App\\Models\\MedicationSale)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'show') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_pharmacy') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #57 {main} "} [2025-10-21 23:46:59] local.ERROR: SQLSTATE[HY000]: General error: 1 table "pharmacy_sales" already exists (Connection: sqlite, SQL: create table "pharmacy_sales" ("id" integer primary key autoincrement not null, "sale_number" varchar not null, "patient_id" integer not null, "health_center_id" integer not null, "subtotal" numeric not null, "discount_percentage" numeric not null default '0', "discount_amount" numeric not null default '0', "total_amount" numeric not null, "payment_method" varchar check ("payment_method" in ('cash', 'card', 'mobile_money')) not null, "notes" text, "sold_by" integer not null, "sale_date" datetime not null, "created_at" datetime, "updated_at" datetime, foreign key("patient_id") references "patients"("id") on delete cascade, foreign key("health_center_id") references "health_centers"("id") on delete cascade, foreign key("sold_by") references "users"("id") on delete cascade)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1 table \"pharmacy_sales\" already exists (Connection: sqlite, SQL: create table \"pharmacy_sales\" (\"id\" integer primary key autoincrement not null, \"sale_number\" varchar not null, \"patient_id\" integer not null, \"health_center_id\" integer not null, \"subtotal\" numeric not null, \"discount_percentage\" numeric not null default '0', \"discount_amount\" numeric not null default '0', \"total_amount\" numeric not null, \"payment_method\" varchar check (\"payment_method\" in ('cash', 'card', 'mobile_money')) not null, \"notes\" text, \"sold_by\" integer not null, \"sale_date\" datetime not null, \"created_at\" datetime, \"updated_at\" datetime, foreign key(\"patient_id\") references \"patients\"(\"id\") on delete cascade, foreign key(\"health_center_id\") references \"health_centers\"(\"id\") on delete cascade, foreign key(\"sold_by\") references \"users\"(\"id\") on delete cascade)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table \"p...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table \"p...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table \"p...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('pharmacy_sales', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_234605_create_pharmacy_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2346...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2346...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 3, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 table \"pharmacy_sales\" already exists at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:564) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(564): PDO->prepare('create table \"p...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('create table \"p...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table \"p...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table \"p...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table \"p...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('pharmacy_sales', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_234605_create_pharmacy_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2346...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2346...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 3, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 00:28:45] local.ERROR: SQLSTATE[HY000]: General error: 1 duplicate column name: health_center_id (Connection: sqlite, SQL: alter table "users" add column "health_center_id" integer) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1 duplicate column name: health_center_id (Connection: sqlite, SQL: alter table \"users\" add column \"health_center_id\" integer) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table \"us...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table \"us...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table \"us...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(460): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->table('users', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_002627_add_supervisor_fields_to_users_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('table', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0026...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0026...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 5, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 duplicate column name: health_center_id at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:564) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(564): PDO->prepare('alter table \"us...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('alter table \"us...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table \"us...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table \"us...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table \"us...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(460): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->table('users', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_002627_add_supervisor_fields_to_users_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('table', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0026...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0026...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 5, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 00:55:16] local.ERROR: View [users.edit] not found. {"userId":1,"exception":"[object] (InvalidArgumentException(code: 0): View [users.edit] not found. at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('users.edit', Array) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('users.edit') #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('users.edit', Array, Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/UserController.php(120): view('users.edit', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\UserController->edit(Object(App\\Models\\User)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\UserController), 'edit') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_users') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #57 {main} "} [2025-10-22 01:23:57] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: permissions.module (Connection: sqlite, SQL: insert into "permissions" ("name", "display_name", "description", "updated_at", "created_at") values (view_supervision, Voir la supervision, Permet d'accéder au module de supervision des centres de santé, 2025-10-22 01:23:57, 2025-10-22 01:23:57)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: permissions.module (Connection: sqlite, SQL: insert into \"permissions\" (\"name\", \"display_name\", \"description\", \"updated_at\", \"created_at\") values (view_supervision, Voir la supervision, Permet d'accéder au module de supervision des centres de santé, 2025-10-22 01:23:57, 2025-10-22 01:23:57)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"pe...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"pe...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"pe...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert('insert into \"pe...', Array) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into \"pe...', Array, 'id') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\Permission)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\Permission), Object(Closure)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(725): Illuminate\\Database\\Eloquent\\Builder->create(Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1959): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(725): Illuminate\\Database\\Eloquent\\Builder->withSavepointIfNeeded(Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(712): Illuminate\\Database\\Eloquent\\Builder->createOrFirst(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->firstOrCreate(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'firstOrCreate', Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('firstOrCreate', Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_012222_add_supervision_permission.php(17): Illuminate\\Database\\Eloquent\\Model::__callStatic('firstOrCreate', Array) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0122...', Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0122...', Object(Closure)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 6, false) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #47 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: permissions.module at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('insert into \"pe...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into \"pe...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('insert into \"pe...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(523): Illuminate\\Database\\Connection->statement('insert into \"pe...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert('insert into \"pe...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into \"pe...', Array, 'id') #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\Permission)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\Permission), Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(725): Illuminate\\Database\\Eloquent\\Builder->create(Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1959): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(725): Illuminate\\Database\\Eloquent\\Builder->withSavepointIfNeeded(Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(712): Illuminate\\Database\\Eloquent\\Builder->createOrFirst(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->firstOrCreate(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'firstOrCreate', Array) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('firstOrCreate', Array) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_012222_add_supervision_permission.php(17): Illuminate\\Database\\Eloquent\\Model::__callStatic('firstOrCreate', Array) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\SQLiteConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0122...', Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0122...', Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 6, false) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #49 {main} "} [2025-10-22 01:33:32] local.ERROR: SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`consultations` (errno: 150 "Foreign key constraint is incorrectly formed") (Connection: mysql, SQL: alter table `consultations` add constraint `consultations_consultation_ticket_id_foreign` foreign key (`consultation_ticket_id`) references `consultation_tickets` (`id`) on delete cascade) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`consultations` (errno: 150 \"Foreign key constraint is incorrectly formed\") (Connection: mysql, SQL: alter table `consultations` add constraint `consultations_consultation_ticket_id_foreign` foreign key (`consultation_ticket_id`) references `consultation_tickets` (`id`) on delete cascade) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `co...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `co...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `co...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('consultations', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_194952_create_consultations_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_1949...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_1949...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`consultations` (errno: 150 \"Foreign key constraint is incorrectly formed\") at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('alter table `co...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `co...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `co...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `co...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('consultations', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_194952_create_consultations_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_1949...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_1949...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 01:34:06] local.ERROR: SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`medication_sales` (errno: 150 "Foreign key constraint is incorrectly formed") (Connection: mysql, SQL: alter table `medication_sales` add constraint `medication_sales_consultation_id_foreign` foreign key (`consultation_id`) references `consultations` (`id`) on delete set null) {"exception":"[object] (Illuminate\\Database\\QueryException(code: HY000): SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`medication_sales` (errno: 150 \"Foreign key constraint is incorrectly formed\") (Connection: mysql, SQL: alter table `medication_sales` add constraint `medication_sales_consultation_id_foreign` foreign key (`consultation_id`) references `consultations` (`id`) on delete set null) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `me...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `me...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `me...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('medication_sale...', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_195028_create_medication_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_1950...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_1950...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1005 Can't create table `ndoya_centre_sante`.`medication_sales` (errno: 150 \"Foreign key constraint is incorrectly formed\") at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('alter table `me...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `me...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `me...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `me...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('medication_sale...', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_195028_create_medication_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_1950...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_1950...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 01:36:06] local.ERROR: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'pharmacy_sales' already exists (Connection: mysql, SQL: create table `pharmacy_sales` (`id` bigint unsigned not null auto_increment primary key, `sale_number` varchar(255) not null, `patient_id` bigint unsigned not null, `health_center_id` bigint unsigned not null, `subtotal` decimal(10, 2) not null, `discount_percentage` decimal(5, 2) not null default '0', `discount_amount` decimal(10, 2) not null default '0', `total_amount` decimal(10, 2) not null, `payment_method` enum('cash', 'card', 'mobile_money') not null, `notes` text null, `sold_by` bigint unsigned not null, `sale_date` timestamp not null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S01): SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'pharmacy_sales' already exists (Connection: mysql, SQL: create table `pharmacy_sales` (`id` bigint unsigned not null auto_increment primary key, `sale_number` varchar(255) not null, `patient_id` bigint unsigned not null, `health_center_id` bigint unsigned not null, `subtotal` decimal(10, 2) not null, `discount_percentage` decimal(5, 2) not null default '0', `discount_amount` decimal(10, 2) not null default '0', `total_amount` decimal(10, 2) not null, `payment_method` enum('cash', 'card', 'mobile_money') not null, `notes` text null, `sold_by` bigint unsigned not null, `sale_date` timestamp not null, `created_at` timestamp null, `updated_at` timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table `p...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table `p...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table `p...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('pharmacy_sales', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_234605_create_pharmacy_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2346...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2346...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: 42S01): SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'pharmacy_sales' already exists at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('create table `p...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('create table `p...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('create table `p...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('create table `p...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(472): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->create('pharmacy_sales', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_21_234605_create_pharmacy_sales_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('create', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_21_2346...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_21_2346...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 01:36:35] local.ERROR: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'is_active' (Connection: mysql, SQL: alter table `users` add `is_active` tinyint(1) not null default '1' after `health_center_id`) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S21): SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'is_active' (Connection: mysql, SQL: alter table `users` add `is_active` tinyint(1) not null default '1' after `health_center_id`) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `us...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `us...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `us...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(460): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->table('users', Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_002521_add_supervisor_fields_to_users_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('table', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0025...', Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0025...', Object(Closure)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #34 {main} [previous exception] [object] (PDOException(code: 42S21): SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'is_active' at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:570) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(570): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('alter table `us...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('alter table `us...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(559): Illuminate\\Database\\Connection->run('alter table `us...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php(121): Illuminate\\Database\\Connection->statement('alter table `us...') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(618): Illuminate\\Database\\Schema\\Blueprint->build() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Schema/Builder.php(460): Illuminate\\Database\\Schema\\Builder->build(Object(Illuminate\\Database\\Schema\\Blueprint)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(363): Illuminate\\Database\\Schema\\Builder->table('users', Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/database/migrations/2025_10_22_002521_add_supervisor_fields_to_users_table.php(14): Illuminate\\Support\\Facades\\Facade::__callStatic('table', Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(514): Illuminate\\Database\\Migrations\\Migration@anonymous->up() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(439): Illuminate\\Database\\Migrations\\Migrator->runMethod(Object(Illuminate\\Database\\MySqlConnection), Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(448): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->runMigration(Object(Illuminate\\Database\\Migrations\\Migration@anonymous), 'up') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/View/Components/Task.php(41): Illuminate\\Database\\Migrations\\Migrator->Illuminate\\Database\\Migrations\\{closure}() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(809): Illuminate\\Console\\View\\Components\\Task->render('2025_10_22_0025...', Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(250): Illuminate\\Database\\Migrations\\Migrator->write('Illuminate\\\\Cons...', '2025_10_22_0025...', Object(Closure)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(210): Illuminate\\Database\\Migrations\\Migrator->runUp('/Applications/X...', 1, false) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(137): Illuminate\\Database\\Migrations\\Migrator->runPending(Array, Array) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(116): Illuminate\\Database\\Migrations\\Migrator->run(Array, Array) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(666): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->Illuminate\\Database\\Console\\Migrations\\{closure}() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(109): Illuminate\\Database\\Migrations\\Migrator->usingConnection(NULL, Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(88): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->runMigrations() #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Database\\Console\\Migrations\\MigrateCommand->handle() #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Container/Container.php(836): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Command/Command.php(318): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(1110): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(359): Symfony\\Component\\Console\\Application->doRunCommand(Object(Illuminate\\Database\\Console\\Migrations\\MigrateCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/symfony/console/Application.php(194): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(197): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/artisan(16): Illuminate\\Foundation\\Application->handleCommand(Object(Symfony\\Component\\Console\\Input\\ArgvInput)) #36 {main} "} [2025-10-22 02:16:18] local.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'receipt_type' in 'where clause' (Connection: mysql, SQL: select count(*) as aggregate from `cash_receipts` where `health_center_id` = 1 and `receipt_type` = consultation and date(`created_at`) = 2025-10-22) {"userId":7,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'receipt_type' in 'where clause' (Connection: mysql, SQL: select count(*) as aggregate from `cash_receipts` where `health_center_id` = 1 and `receipt_type` = consultation and date(`created_at`) = 2025-10-22) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select count(*)...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select count(*)...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select count(*)...', Array, true) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3687): Illuminate\\Database\\Query\\Builder->get(Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3615): Illuminate\\Database\\Query\\Builder->aggregate('count', Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->count() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/SupervisorController.php(239): Illuminate\\Database\\Eloquent\\Builder->__call('count', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/SupervisorController.php(30): App\\Http\\Controllers\\SupervisorController->getHealthCenterStats(1) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\SupervisorController->index() #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\SupervisorController), 'index') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|superviso...') #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #64 {main} [previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'receipt_type' in 'where clause' at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:406) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(406): PDO->prepare('select count(*)...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('select count(*)...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select count(*)...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select count(*)...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select count(*)...', Array, true) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3687): Illuminate\\Database\\Query\\Builder->get(Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3615): Illuminate\\Database\\Query\\Builder->aggregate('count', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->count() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/SupervisorController.php(239): Illuminate\\Database\\Eloquent\\Builder->__call('count', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/SupervisorController.php(30): App\\Http\\Controllers\\SupervisorController->getHealthCenterStats(1) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\SupervisorController->index() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\SupervisorController), 'index') #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|superviso...') #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #66 {main} "} [2025-10-22 21:11:36] local.ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'health_center_id' in 'where clause' (Connection: mysql, SQL: select count(*) as aggregate from `patients` where `health_center_id` = 1) {"userId":4,"exception":"[object] (Illuminate\\Database\\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'health_center_id' in 'where clause' (Connection: mysql, SQL: select count(*) as aggregate from `patients` where `health_center_id` = 1) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select count(*)...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select count(*)...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select count(*)...', Array, true) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3687): Illuminate\\Database\\Query\\Builder->get(Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3615): Illuminate\\Database\\Query\\Builder->aggregate('count', Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->count() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->__call('count', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'count', Array) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('count', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/DashboardController.php(22): Illuminate\\Database\\Eloquent\\Model::__callStatic('count', Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\DashboardController->index() #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\DashboardController), 'index') #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #66 {main} [previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'health_center_id' in 'where clause' at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:406) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(406): PDO->prepare('select count(*)...') #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('select count(*)...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('select count(*)...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(397): Illuminate\\Database\\Connection->run('select count(*)...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3188): Illuminate\\Database\\Connection->select('select count(*)...', Array, true) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3173): Illuminate\\Database\\Query\\Builder->runSelect() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3763): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3172): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3687): Illuminate\\Database\\Query\\Builder->get(Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3615): Illuminate\\Database\\Query\\Builder->aggregate('count', Array) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->count() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->__call('count', Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'count', Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('count', Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/DashboardController.php(22): Illuminate\\Database\\Eloquent\\Model::__callStatic('count', Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\DashboardController->index() #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\DashboardController), 'index') #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(41): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #68 {main} "} [2025-10-22 21:44:24] local.ERROR: Erreur lors de la vente de pharmacie {"user_id":3,"health_center_id":3,"error_message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PH-202510-0001' for key 'pharmacy_sales_sale_number_unique' (Connection: mysql, SQL: insert into `pharmacy_sales` (`sale_number`, `patient_id`, `health_center_id`, `subtotal`, `discount_percentage`, `discount_amount`, `total_amount`, `payment_method`, `notes`, `sold_by`, `sale_date`, `updated_at`, `created_at`) values (PH-202510-0001, 17, 3, 1200, 0, 0, 1200, cash, ?, 3, 2025-10-22 21:44:24, 2025-10-22 21:44:24, 2025-10-22 21:44:24))","error_file":"/Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php","error_line":819,"request_data":{"customer_name":"talla","customer_phone":null,"payment_method":"cash","discount_percentage":"0","notes":null,"items":[{"medication_id":"6","quantity":1,"unit_price":"1200.00"}]}} [2025-10-22 21:44:29] local.ERROR: Erreur lors de la vente de pharmacie {"user_id":3,"health_center_id":3,"error_message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PH-202510-0001' for key 'pharmacy_sales_sale_number_unique' (Connection: mysql, SQL: insert into `pharmacy_sales` (`sale_number`, `patient_id`, `health_center_id`, `subtotal`, `discount_percentage`, `discount_amount`, `total_amount`, `payment_method`, `notes`, `sold_by`, `sale_date`, `updated_at`, `created_at`) values (PH-202510-0001, 18, 3, 1200, 0, 0, 1200, cash, ?, 3, 2025-10-22 21:44:29, 2025-10-22 21:44:29, 2025-10-22 21:44:29))","error_file":"/Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php","error_line":819,"request_data":{"customer_name":"talla","customer_phone":null,"payment_method":"cash","discount_percentage":"0","notes":null,"items":[{"medication_id":"6","quantity":1,"unit_price":"1200.00"}]}} [2025-10-22 22:02:08] local.ERROR: Erreur lors de la vente de pharmacie {"user_id":3,"health_center_id":3,"error_message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PH-202510-0001' for key 'pharmacy_sales_sale_number_unique' (Connection: mysql, SQL: insert into `pharmacy_sales` (`sale_number`, `patient_id`, `health_center_id`, `subtotal`, `discount_percentage`, `discount_amount`, `total_amount`, `payment_method`, `notes`, `sold_by`, `sale_date`, `updated_at`, `created_at`) values (PH-202510-0001, 21, 3, 1200, 0, 0, 1200, cash, ?, 3, 2025-10-22 22:02:08, 2025-10-22 22:02:08, 2025-10-22 22:02:08))","error_file":"/Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php","error_line":819,"request_data":{"customer_name":"client","customer_phone":null,"payment_method":"cash","discount_percentage":"0","notes":null,"items":[{"medication_id":"6","quantity":1,"unit_price":"1200.00"}]}} [2025-10-22 22:33:48] local.ERROR: Erreur lors de la vente de pharmacie {"user_id":3,"health_center_id":3,"error_message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PH-202510-0001' for key 'pharmacy_sales_sale_number_unique' (Connection: mysql, SQL: insert into `pharmacy_sales` (`sale_number`, `patient_id`, `health_center_id`, `subtotal`, `discount_percentage`, `discount_amount`, `total_amount`, `payment_method`, `notes`, `sold_by`, `sale_date`, `updated_at`, `created_at`) values (PH-202510-0001, 22, 3, 1200, 0, 0, 1200, mobile_money, Wave, 3, 2025-10-22 22:33:48, 2025-10-22 22:33:48, 2025-10-22 22:33:48))","error_file":"/Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php","error_line":819,"request_data":{"customer_name":"test","customer_phone":"77777777","payment_method":"mobile_money","discount_percentage":"0","notes":"Wave","items":[{"medication_id":"6","quantity":1,"unit_price":"1200.00"}]}} [2025-10-23 11:10:18] local.ERROR: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'type' at row 1 (Connection: mysql, SQL: insert into `health_centers` (`name`, `type`, `is_active`, `address`, `phone`, `email`, `updated_at`, `created_at`) values (MEDIKANE, prive, 1, sacré coeur VDN Dakar, +221 33 8888888, ?, 2025-10-23 11:10:18, 2025-10-23 11:10:18)) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column 'type' at row 1 (Connection: mysql, SQL: insert into `health_centers` (`name`, `type`, `is_active`, `address`, `phone`, `email`, `updated_at`, `created_at`) values (MEDIKANE, prive, 1, sacré coeur VDN Dakar, +221 33 8888888, ?, 2025-10-23 11:10:18, 2025-10-23 11:10:18)) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php:824) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into `he...', Array, Object(Closure)) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(42): Illuminate\\Database\\Connection->run('insert into `he...', Array, Object(Closure)) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/MySqlProcessor.php(35): Illuminate\\Database\\MySqlConnection->insert('insert into `he...', Array, 'id') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\MySqlProcessor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `he...', Array, 'id') #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\HealthCenter)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\HealthCenter), Object(Closure)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/HealthCenterController.php(100): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\HealthCenterController->store(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\HealthCenterController), 'store') #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_health_cen...') #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #68 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #69 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #70 {main} [previous exception] [object] (PDOException(code: 01000): SQLSTATE[01000]: Warning: 1265 Data truncated for column 'type' at row 1 at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php:53) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(53): PDOStatement->execute() #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\MySqlConnection->Illuminate\\Database\\{closure}('insert into `he...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into `he...', Array, Object(Closure)) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(42): Illuminate\\Database\\Connection->run('insert into `he...', Array, Object(Closure)) #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/MySqlProcessor.php(35): Illuminate\\Database\\MySqlConnection->insert('insert into `he...', Array, 'id') #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\MySqlProcessor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `he...', Array, 'id') #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\HealthCenter)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\HealthCenter), Object(Closure)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Controllers/HealthCenterController.php(100): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\HealthCenterController->store(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\HealthCenterController), 'store') #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_health_cen...') #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #65 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #66 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #67 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #68 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #69 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #70 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #71 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #72 {main} "} [2025-11-02 02:41:38] local.ERROR: Undefined variable $stats (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/quick-sale/sales.blade.php) {"userId":1,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $stats (View: /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/resources/views/quick-sale/sales.blade.php) at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/9cd09b81fee7ffabe1b43df5e60f75dc.php:74) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|reception...') #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #61 {main} [previous exception] [object] (ErrorException(code: 0): Undefined variable $stats at /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/9cd09b81fee7ffabe1b43df5e60f75dc.php:74) [stacktrace] #0 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Undefined varia...', '/Applications/X...', 74) #1 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/storage/framework/views/9cd09b81fee7ffabe1b43df5e60f75dc.php(74): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Undefined varia...', '/Applications/X...', 74) #2 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/Applications/X...') #3 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/Applications/X...', Array) #5 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/Applications/X...', Array) #6 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/Applications/X...', Array) #7 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #10 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #11 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #12 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #13 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #14 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #15 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/CheckRoleOrPermission.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckRoleOrPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin|reception...') #17 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 /Applications/XAMPP/xamppfiles/htdocs/ndoya_poste_Sante/centre-sante-app/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(23): require_once('/Applications/X...') #65 {main} "} [2026-01-21 19:12:31] local.ERROR: Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) {"userId":3,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #13 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 {main} [previous exception] [object] (ErrorException(code: 0): Undefined variable $healthCenters at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Undefined varia...', '/home/alafrie/m...', 38) #1 /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php(38): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Undefined varia...', '/home/alafrie/m...', 38) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/home/alafrie/m...') #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/home/alafrie/m...', Array) #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #17 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 {main} "} [2026-01-21 19:13:37] local.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'VT-000001' for key 'medication_sales.medication_sales_sale_number_unique' (Connection: mysql, SQL: insert into `medication_sales` (`sale_number`, `health_center_id`, `patient_id`, `medication_id`, `quantity`, `unit_price`, `total_price`, `discount`, `final_price`, `payment_method`, `pharmacist_notes`, `sale_date`, `sold_by`, `updated_at`, `created_at`) values (VT-000001, 1, 25, 6, 1, 1200.00, 1200, 1200, 0, cash, ?, 2026-01-21 19:13:37, 1, 2026-01-21 19:13:37, 2026-01-21 19:13:37)) {"userId":3,"exception":"[object] (Illuminate\\Database\\UniqueConstraintViolationException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'VT-000001' for key 'medication_sales.medication_sales_sale_number_unique' (Connection: mysql, SQL: insert into `medication_sales` (`sale_number`, `health_center_id`, `patient_id`, `medication_id`, `quantity`, `unit_price`, `total_price`, `discount`, `final_price`, `payment_method`, `pharmacist_notes`, `sale_date`, `sold_by`, `updated_at`, `created_at`) values (VT-000001, 1, 25, 6, 1, 1200.00, 1200, 1200, 0, cash, ?, 2026-01-21 19:13:37, 1, 2026-01-21 19:13:37, 2026-01-21 19:13:37)) at /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Connection.php:819) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into `me...', Array, Object(Closure)) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(42): Illuminate\\Database\\Connection->run('insert into `me...', Array, Object(Closure)) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/MySqlProcessor.php(35): Illuminate\\Database\\MySqlConnection->insert('insert into `me...', Array, 'id') #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\MySqlProcessor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `me...', Array, 'id') #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\MedicationSale)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\MedicationSale), Object(Closure)) #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #14 /home/alafrie/morsoft/app/Http/Controllers/MedicationSaleController.php(168): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->store(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'store') #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_pharmacy') #22 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #64 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #65 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #66 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #67 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #68 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #69 {main} [previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'VT-000001' for key 'medication_sales.medication_sales_sale_number_unique' at /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php:53) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(53): PDOStatement->execute() #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Connection.php(811): Illuminate\\Database\\MySqlConnection->Illuminate\\Database\\{closure}('insert into `me...', Array) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Connection.php(778): Illuminate\\Database\\Connection->runQueryCallback('insert into `me...', Array, Object(Closure)) #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php(42): Illuminate\\Database\\Connection->run('insert into `me...', Array, Object(Closure)) #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/MySqlProcessor.php(35): Illuminate\\Database\\MySqlConnection->insert('insert into `me...', Array, 'id') #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3853): Illuminate\\Database\\Query\\Processors\\MySqlProcessor->processInsertGetId(Object(Illuminate\\Database\\Query\\Builder), 'insert into `me...', Array, 'id') #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(2235): Illuminate\\Database\\Query\\Builder->insertGetId(Array, 'id') #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1436): Illuminate\\Database\\Eloquent\\Builder->__call('insertGetId', Array) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1401): Illuminate\\Database\\Eloquent\\Model->insertAndSetId(Object(Illuminate\\Database\\Eloquent\\Builder), Array) #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1240): Illuminate\\Database\\Eloquent\\Model->performInsert(Object(Illuminate\\Database\\Eloquent\\Builder)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1219): Illuminate\\Database\\Eloquent\\Model->save() #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Support/helpers.php(390): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}(Object(App\\Models\\MedicationSale)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1218): tap(Object(App\\Models\\MedicationSale), Object(Closure)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\\Database\\Eloquent\\Builder->create(Array) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2540): Illuminate\\Database\\Eloquent\\Model->forwardCallTo(Object(Illuminate\\Database\\Eloquent\\Builder), 'create', Array) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2556): Illuminate\\Database\\Eloquent\\Model->__call('create', Array) #16 /home/alafrie/morsoft/app/Http/Controllers/MedicationSaleController.php(168): Illuminate\\Database\\Eloquent\\Model::__callStatic('create', Array) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->store(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'store') #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(35): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_pharmacy') #24 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #64 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #65 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #66 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #67 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #68 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #69 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #70 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #71 {main} "} [2026-03-03 14:13:16] local.ERROR: View [medication-sales.show] not found. {"userId":1,"exception":"[object] (InvalidArgumentException(code: 0): View [medication-sales.show] not found. at /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:138) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(78): Illuminate\\View\\FileViewFinder->findInPaths('medication-sale...', Array) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Factory.php(150): Illuminate\\View\\FileViewFinder->find('medication-sale...') #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(1101): Illuminate\\View\\Factory->make('medication-sale...', Array, Array) #3 /home/alafrie/morsoft/app/Http/Controllers/MedicationSaleController.php(197): view('medication-sale...', Array) #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(46): App\\Http\\Controllers\\MedicationSaleController->show(Object(App\\Models\\MedicationSale)) #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(265): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(App\\Http\\Controllers\\MedicationSaleController), 'show') #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Route.php(211): Illuminate\\Routing\\Route->runController() #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(822): Illuminate\\Routing\\Route->run() #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #9 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_pharmacy') #11 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #57 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #58 {main} "} [2026-03-04 14:23:17] local.ERROR: Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) {"userId":14,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #13 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 {main} [previous exception] [object] (ErrorException(code: 0): Undefined variable $healthCenters at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Undefined varia...', '/home/alafrie/m...', 38) #1 /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php(38): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Undefined varia...', '/home/alafrie/m...', 38) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/home/alafrie/m...') #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/home/alafrie/m...', Array) #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #17 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 {main} "} [2026-03-04 14:23:28] local.ERROR: Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) {"userId":14,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #13 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 {main} [previous exception] [object] (ErrorException(code: 0): Undefined variable $healthCenters at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Undefined varia...', '/home/alafrie/m...', 38) #1 /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php(38): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Undefined varia...', '/home/alafrie/m...', 38) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/home/alafrie/m...') #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/home/alafrie/m...', Array) #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #17 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 {main} "} [2026-03-04 14:37:32] local.ERROR: Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) {"userId":14,"exception":"[object] (Illuminate\\View\\ViewException(code: 0): Undefined variable $healthCenters (View: /home/alafrie/morsoft/resources/views/medications/create.blade.php) at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(59): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1) #1 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #11 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #13 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #15 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #17 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #59 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #60 {main} [previous exception] [object] (ErrorException(code: 0): Undefined variable $healthCenters at /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php:38) [stacktrace] #0 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(258): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Undefined varia...', '/home/alafrie/m...', 38) #1 /home/alafrie/morsoft/storage/framework/views/b8362807395dafe1597b0b4217baf718.php(38): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Undefined varia...', '/home/alafrie/m...', 38) #2 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(123): require('/home/alafrie/m...') #3 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(124): Illuminate\\Filesystem\\Filesystem::Illuminate\\Filesystem\\{closure}() #4 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(57): Illuminate\\Filesystem\\Filesystem->getRequire('/home/alafrie/m...', Array) #5 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(76): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/home/alafrie/m...', Array) #6 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(208): Illuminate\\View\\Engines\\CompilerEngine->get('/home/alafrie/m...', Array) #7 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(191): Illuminate\\View\\View->getContents() #8 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/View.php(160): Illuminate\\View\\View->renderContents() #9 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(78): Illuminate\\View\\View->render() #10 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Response.php(34): Illuminate\\Http\\Response->setContent(Object(Illuminate\\View\\View)) #11 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(939): Illuminate\\Http\\Response->__construct(Object(Illuminate\\View\\View), 200, Array) #12 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(906): Illuminate\\Routing\\Router::toResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #13 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Routing\\Router->prepareResponse(Object(Illuminate\\Http\\Request), Object(Illuminate\\View\\View)) #14 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #15 /home/alafrie/morsoft/app/Http/Middleware/CheckPermission.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #16 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\CheckPermission->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'view_medication...') #17 /home/alafrie/morsoft/app/Http/Middleware/HealthCenterScope.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #18 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): App\\Http\\Middleware\\HealthCenterScope->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #19 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #20 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #21 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #22 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #23 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(87): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #24 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #25 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #26 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #27 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(120): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #28 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #29 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #30 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(36): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #31 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #32 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(74): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #33 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #34 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #35 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(821): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #36 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #37 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(764): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #38 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Routing/Router.php(753): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #39 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #40 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #41 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #42 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #43 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(109): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #50 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #51 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(48): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #52 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #53 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #54 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #55 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #56 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #57 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php(26): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #58 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(219): Illuminate\\Http\\Middleware\\ValidatePathEncoding->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #59 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #60 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #61 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #62 /home/alafrie/morsoft/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1220): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #63 /home/alafrie/morsoft/public/index.php(20): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) #64 {main} "}