You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for helping to improve the module! In order to analyze and resolve the reported error as quickly as possible, a detailed error description is crucial. The more information you provide, the easier it is for us to find the cause. Please fill in the following:
Description of the problem
Describe what exactly happened and how the error manifests itself. Example: "After saving a setting, an error message appears: 'Undefined index'."
@kiwi3685 Ouch, thanks for reminding to update to a newer webtrees version. I just did that, upgraded to your v3 and now it works perfect. So the bug above is now obsolete and does not exist anymore. You can close this issue. Thank you.
Thank you for helping to improve the module! In order to analyze and resolve the reported error as quickly as possible, a detailed error description is crucial. The more information you provide, the easier it is for us to find the cause. Please fill in the following:
Description of the problem
Describe what exactly happened and how the error manifests itself.
Example: "After saving a setting, an error message appears: 'Undefined index'."
**After manually upgrading/updating the module from release 3.0.0 https://github.com/magicsunday/webtrees-fan-chart/releases/tag/3.0.0 (upgrade = uploading files via FTP) this error occures and shows within webtrees section. Webtrees works, but the error is shown.
Using webtrees version 2.1.22**
Expected behavior
After upgrading the file and module no error should have shown
Steps to reproduction
Error messages or screenshots
Fatal error in module: webtrees-fan-chart Error: Call to undefined method Fisharebest\Webtrees\Registry::container() in /homepages/14/d13457383/htdocs/ancestry/modules_v4/webtrees-fan-chart/module.php:25 Stack trace: #0 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(737): include() #1 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(711): Fisharebest\Webtrees\Services\ModuleService::load() #2 [internal function]: Fisharebest\Webtrees\Services\ModuleService::Fisharebest\Webtrees\Services\{closure}() #3 /homepages/14/d13457383/htdocs/ancestry/vendor/illuminate/collections/Collection.php(695): array_map() #4 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(710): Illuminate\Support\Collection->map() #5 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(632): Fisharebest\Webtrees\Services\ModuleService->customModules() #6 /homepages/14/d13457383/htdocs/ancestry/app/Cache.php(58): Fisharebest\Webtrees\Services\ModuleService->Fisharebest\Webtrees\Services\{closure}() #7 /homepages/14/d13457383/htdocs/ancestry/vendor/symfony/cache/Adapter/ArrayAdapter.php(84): Fisharebest\Webtrees\Cache::Fisharebest\Webtrees\{closure}() #8 /homepages/14/d13457383/htdocs/ancestry/app/Cache.php(55): Symfony\Component\Cache\Adapter\ArrayAdapter->get() #9 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(622): Fisharebest\Webtrees\Cache->remember() #10 /homepages/14/d13457383/htdocs/ancestry/app/Services/ModuleService.php(583): Fisharebest\Webtrees\Services\ModuleService->all() #11 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/UseLanguage.php(82): Fisharebest\Webtrees\Services\ModuleService->findByInterface() #12 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/UseLanguage.php(61): Fisharebest\Webtrees\Http\Middleware\UseLanguage->languages() #13 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process() #14 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #15 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process() #16 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #17 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process() #18 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle() #19 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process() #20 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/BadBotBlocker.php(308): Middleland\Dispatcher->handle() #21 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process() #22 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle() #23 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process() #24 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #25 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process() #26 /homepages/14/d13457383/htdocs/ancestry/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #27 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #28 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process() #29 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle() #30 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process() #31 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/SecurityHeaders.php(49): Middleland\Dispatcher->handle() #32 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process() #33 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle() #34 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process() #35 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #36 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process() #37 /homepages/14/d13457383/htdocs/ancestry/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #38 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process() #39 /homepages/14/d13457383/htdocs/ancestry/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #40 /homepages/14/d13457383/htdocs/ancestry/app/Webtrees.php(276): Middleland\Dispatcher->dispatch() #41 /homepages/14/d13457383/htdocs/ancestry/app/Webtrees.php(263): Fisharebest\Webtrees\Webtrees::dispatch() #42 /homepages/14/d13457383/htdocs/ancestry/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest() #43 {main}
Screenshot:
Technical Details
Please specify the technical conditions:
Additional Information
Were there any special circumstances involved? Did you notice anything unusual? Was the module working correctly before a change or update?
Module was working correctly, and a new version was available and I like the module so I thought upgrading would be nice.
Log files
Check the webtrees logs or server logs for entries related to the error and attach them.
2024-10-25 10:44:04 CEST error Target class [Fisharebest\Webtrees\Module\LanguageLithuanian] does not exist. …/vendor/illuminate/container/Container.php:879 #0 …/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build() #1 …/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve() #2 …/app/Webtrees.php(312): Illuminate\Container\Container->make() #3 …/app/Helpers/functions.php(43): Fisharebest\Webtrees\Webtrees::make() #4 …/app/Services/ModuleService.php(675): app() #5 [internal function]: Fisharebest\Webtrees\Services\ModuleService::Fisharebest\Webtrees\Services{closure}() #6 …/vendor/illuminate/collections/Collection.php(695): array_map() #7 …/app/Services/ModuleService.php(674): Illuminate\Support\Collection->map() #8 …/app/Services/ModuleService.php(629): Fisharebest\Webtrees\Services\ModuleService->coreModules() #9 …/app/Cache.php(58): Fisharebest\Webtrees\Services\ModuleService->Fisharebest\Webtrees\Services{closure}() #10 …/vendor/symfony/cache/Adapter/ArrayAdapter.php(84): Fisharebest\Webtrees\Cache::Fisharebest\Webtrees{closure}() #11 …/app/Cache.php(55): Symfony\Component\Cache\Adapter\ArrayAdapter->get() #12 …/app/Services/ModuleService.php(620): Fisharebest\Webtrees\Cache->remember() #13 …/app/Services/ModuleService.php(581): Fisharebest\Webtrees\Services\ModuleService->all() #14 …/app/Http/Middleware/UseLanguage.php(82): Fisharebest\Webtrees\Services\ModuleService->findByInterface() #15 …/app/Http/Middleware/UseLanguage.php(61): Fisharebest\Webtrees\Http\Middleware\UseLanguage->languages() #16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process() #17 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process() #19 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process() #21 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle() #22 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process() #23 …/app/Http/Middleware/BadBotBlocker.php(308): Middleland\Dispatcher->handle() #24 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process() #25 …/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle() #26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process() #27 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #28 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process() #29 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #30 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #31 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process() #32 …/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle() #33 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process() #34 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle() #35 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process() #36 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #37 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process() #38 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle() #39 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process() #40 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #41 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process() #42 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #43 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch() #44 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch() #45 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest() #46 {main} 127.0.0.1
The text was updated successfully, but these errors were encountered: