Closed hartenthaler closed 1 year ago
I don't see how this can occur (router cannot provider the route previously registered by the custom module). Is there a way to reproduce it - Or is at least the full stack trace available?
The error occurred several times when nobody is logged in (no user, no tree, IP=52.167.144.79).
Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule …/vendor/aura/router/src/Map.php:189 #0 …/app/Factories/RouteFactory.php(62): Aura\Router\Map->getRoute() #1 …/app/Helpers/functions.php(132): Fisharebest\Webtrees\Factories\RouteFactory->route() <b>#2 …/modules_v4/vesta_extended_relationships/ExtendedRelationshipModule.php(660): route()</b> <b>#3 …/modules_v4/vesta_extended_relationships/ExtendedRelationshipModule.php(689): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule->chartUrl()</b> #4 …/app/Module/ChartsMenuModule.php(99): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule->chartMenu() #5 [internal function]: Fisharebest\Webtrees\Module\ChartsMenuModule::Fisharebest\Webtrees\Module\{closure}() #6 …/vendor/illuminate/collections/Collection.php(695): array_map() #7 …/app/Module/ChartsMenuModule.php(98): Illuminate\Support\Collection->map() #8 …/app/Module/ModuleThemeTrait.php(495): Fisharebest\Webtrees\Module\ChartsMenuModule->getMenu() #9 [internal function]: Fisharebest\Webtrees\Module\WebtreesTheme::Fisharebest\Webtrees\Module\{closure}() #10 …/vendor/illuminate/collections/Collection.php(695): array_map() #11 …/app/Module/ModuleThemeTrait.php(495): Illuminate\Support\Collection->map() #12 …/resources/views/layouts/default.phtml(112): Fisharebest\Webtrees\Module\WebtreesTheme->genealogyMenu() #13 …/app/View.php(183): include('...') #14 …/app/View.php(278): Fisharebest\Webtrees\View->render() #15 …/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make() #16 …/app/Http/ViewResponseTrait.php(54): view() #17 …/app/Module/LifespansChartModule.php(226): Fisharebest\Webtrees\Module\AbstractModule->viewResponse() #18 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Module\LifespansChartModule->handle() #19 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process() <b>#20 …/modules_v4/vesta_research_suggestions/ResearchSuggestionsModule.php(277): Middleland\Dispatcher->handle()</b> #21 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Cissee\Webtrees\Module\ResearchSuggestions\ResearchSuggestionsModule->process() <b>#22 …/modules_v4/faces/src/Modules/FacesModule.php(94): Middleland\Dispatcher->handle()</b> #23 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process() <b>#24 …/modules_v4/webtrees-reminder/src/Modules/ReminderModule.php(97): Middleland\Dispatcher->handle()</b> #25 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Reminder\Modules\ReminderModule->process() <b>#26 …/modules_v4/change_language_with_url/ChangeLanguageWithURL.php(143): Middleland\Dispatcher->handle()</b> #27 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): ChangeLanguageWithURLNamespace\ChangeLanguageWithURL->process() #28 …/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle() #29 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process() #30 …/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle() #31 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process() #32 …/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle() #33 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process() #34 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #35 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch() #36 …/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch() #37 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process() #38 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle() #39 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}() #40 …/app/Http/Middleware/UseTransaction.php(44): Illuminate\Database\Connection->transaction() #41 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process() #42 …/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle() #43 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process() #44 …/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle() #45 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process() #46 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle() #47 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process() #48 …/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle() #49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process() #50 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process() #52 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process() #54 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle() #55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process() #56 …/app/Http/Middleware/BadBotBlocker.php(282): Middleland\Dispatcher->handle() #57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process() #58 …/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle() #59 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process() #60 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #61 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process() #62 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #63 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #64 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process() #65 …/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle() #66 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process() #67 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle() #68 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process() #69 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #70 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process() #71 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle() #72 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process() #73 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #74 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process() #75 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #76 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch() #77 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch() #78 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest() #79 {main}
your stacktrace, formatted:
Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule …/vendor/aura/router/src/Map.php:189
#0 …/app/Factories/RouteFactory.php(62): Aura\Router\Map->getRoute()
#1 …/app/Helpers/functions.php(132): Fisharebest\Webtrees\Factories\RouteFactory->route() <b>
#2 …/modules_v4/vesta_extended_relationships/ExtendedRelationshipModule.php(660): route()</b> <b>
#3 …/modules_v4/vesta_extended_relationships/ExtendedRelationshipModule.php(689): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule->chartUrl()</b>
#4 …/app/Module/ChartsMenuModule.php(99): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule->chartMenu()
#5 [internal function]: Fisharebest\Webtrees\Module\ChartsMenuModule::Fisharebest\Webtrees\Module\{closure}()
#6 …/vendor/illuminate/collections/Collection.php(695): array_map()
#7 …/app/Module/ChartsMenuModule.php(98): Illuminate\Support\Collection->map()
#8 …/app/Module/ModuleThemeTrait.php(495): Fisharebest\Webtrees\Module\ChartsMenuModule->getMenu()
#9 [internal function]: Fisharebest\Webtrees\Module\WebtreesTheme::Fisharebest\Webtrees\Module\{closure}()
#10 …/vendor/illuminate/collections/Collection.php(695): array_map()
#11 …/app/Module/ModuleThemeTrait.php(495): Illuminate\Support\Collection->map()
#12 …/resources/views/layouts/default.phtml(112): Fisharebest\Webtrees\Module\WebtreesTheme->genealogyMenu()
#13 …/app/View.php(183): include('...')
#14 …/app/View.php(278): Fisharebest\Webtrees\View->render()
#15 …/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make()
#16 …/app/Http/ViewResponseTrait.php(54): view()
#17 …/app/Module/LifespansChartModule.php(226): Fisharebest\Webtrees\Module\AbstractModule->viewResponse()
#18 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Module\LifespansChartModule->handle()
#19 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process() <b>
#20 …/modules_v4/vesta_research_suggestions/ResearchSuggestionsModule.php(277): Middleland\Dispatcher->handle()</b>
#21 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Cissee\Webtrees\Module\ResearchSuggestions\ResearchSuggestionsModule->process() <b>
#22 …/modules_v4/faces/src/Modules/FacesModule.php(94): Middleland\Dispatcher->handle()</b>
#23 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process() <b>
#24 …/modules_v4/webtrees-reminder/src/Modules/ReminderModule.php(97): Middleland\Dispatcher->handle()</b>
#25 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Reminder\Modules\ReminderModule->process() <b>
#26 …/modules_v4/change_language_with_url/ChangeLanguageWithURL.php(143): Middleland\Dispatcher->handle()</b>
#27 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): ChangeLanguageWithURLNamespace\ChangeLanguageWithURL->process()
#28 …/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle()
#29 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
#30 …/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle()
#31 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()
#32 …/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle()
#33 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
#34 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#35 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#36 …/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch()
#37 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
#38 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()
#39 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}()
#40 …/app/Http/Middleware/UseTransaction.php(44): Illuminate\Database\Connection->transaction()
#41 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
#42 …/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle()
#43 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
#44 …/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle()
#45 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
#46 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
#47 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
#48 …/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle()
#49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
#50 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle()
#51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
#52 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
#53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
#54 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle()
#55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
#56 …/app/Http/Middleware/BadBotBlocker.php(282): Middleland\Dispatcher->handle()
#57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
#58 …/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle()
#59 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
#60 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle()
#61 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
#62 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()
#63 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()
#64 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
#65 …/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle()
#66 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
#67 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle()
#68 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
#69 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()
#70 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
#71 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()
#72 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
#73 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()
#74 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
#75 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#76 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#77 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()
#78 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()
#79 {main}
There is something wrong in the middleware stack. All middleware after 'UseTransaction' from this isn't called, including 'BootModules', which explains the subsequent error. See the list here. Everything up to 'UseTransaction' appears in the stack, but nothing after.
Normal stack trace looks like this:
[...]
#19 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch(Object(Nyholm\Psr7\ServerRequest), Array)
#20 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#21 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\BootModules.php(60): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#22 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#23 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\RegisterGedcomTags.php(54): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#24 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#25 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\LoadRoutes.php(75): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#26 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#27 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\CheckForNewVersion.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#28 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#29 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\UseTransaction.php(45): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#30 C:\xampp814\htdocs\dev\webtrees\vendor\illuminate\database\Concerns\ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}(Object(Illuminate\Database\MySqlConnection))
#31 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\UseTransaction.php(46): Illuminate\Database\Connection->transaction(Object(Closure), 3)
#32 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#33 C:\xampp814\htdocs\dev\webtrees\app\Http\Middleware\DoHousekeeping.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#34 C:\xampp814\htdocs\dev\webtrees\vendor\oscarotero\middleland\src\Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
[...]
I do not know how this can occur, anyway it's not Vesta-specific and should be investigated further in webtrees.