Web based family history software

Question Undefined array key "DOE" …/app/Module/IndividualListModule.php:459

  • durangod
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 2 weeks ago - 4 months 2 weeks ago #1 by durangod
Not logged in,  when i go to lists -> families it gives me this error....    Now it does not happen every time, but it happens alot, especially if i choose a different menu item and then go back to lists->familes 

It also happens when you click on the DOE name under most common surnames on the main page (not logged in)

Undefined array key "DOE" …/app/Module/IndividualListModule.php:459
#0 …/app/Module/IndividualListModule.php(459): Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}()
#1 …/app/Http/Middleware/RequestHandler.php(55): Fisharebest\Webtrees\Module\IndividualListModule->handle()
#2 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RequestHandler->process()
#3 …/app/Module/HitCountFooterModule.php(154): Middleland\Dispatcher->handle()
#4 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process()
#5 …/app/Module/CheckForNewVersion.php(122): Middleland\Dispatcher->handle()
#6 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\CheckForNewVersion->process()
#7 …/app/Http/Middleware/CheckCsrf.php(80): Middleland\Dispatcher->handle()
#8 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process()
#9 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#10 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#11 …/app/Http/Middleware/Router.php(161): Fisharebest\Webtrees\Webtrees::dispatch()
#12 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process()
#13 …/app/Http/Middleware/BootModules.php(58): Middleland\Dispatcher->handle()
#14 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process()
#15 …/app/Http/Middleware/RegisterGedcomTags.php(54): Middleland\Dispatcher->handle()
#16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\RegisterGedcomTags->process()
#17 …/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle()
#18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process()
#19 …/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle()
#20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForNewVersion->process()
#21 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle()
#22 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}()
#23 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction()
#24 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process()
#25 …/app/Http/Middleware/DoHousekeeping.php(71): Middleland\Dispatcher->handle()
#26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process()
#27 …/app/Http/Middleware/UseTheme.php(67): Middleland\Dispatcher->handle()
#28 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process()
#29 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle()
#30 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process()
#31 …/app/Http/Middleware/UseLanguage.php(69): Middleland\Dispatcher->handle()
#32 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process()
#33 …/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle()
#34 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process()
#35 …/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle()
#36 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process()
#37 …/app/Http/Middleware/UseDatabase.php(122): Middleland\Dispatcher->handle()
#38 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process()
#39 …/app/Http/Middleware/BadBotBlocker.php(293): Middleland\Dispatcher->handle()
#40 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process()
#41 …/app/Http/Middleware/CompressResponse.php(71): Middleland\Dispatcher->handle()
#42 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CompressResponse->process()
#43 …/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle()
#44 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ContentLength->process()
#45 …/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle()
#46 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process()
#47 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process()
#48 …/app/Http/Middleware/HandleExceptions.php(89): Middleland\Dispatcher->handle()
#49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process()
#50 …/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle()
#51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process()
#52 …/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle()
#53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process()
#54 …/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle()
#55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process()
#56 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle()
#57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process()
#58 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle()
#59 …/app/Webtrees.php(275): Middleland\Dispatcher->dispatch()
#60 …/app/Webtrees.php(262): Fisharebest\Webtrees\Webtrees::dispatch()
#61 …/index.php(51): Fisharebest\Webtrees\Webtrees->httpRequest()
#62 {main}
 

webtrees version 2.1.18
theme -  just light  version 2.2.6
php 8.1
mysql  10.5.20-MariaDB-cll-lve-log
apache - 2.4.58
x86_64
OS  linux
kernel version - 2.6.32-954.3.5.lve1.4.92.el6.x86_64
cpanel version - 110.0 build 12

Let me know if you need any other info, thanks 

UPDATE:   ok i had a look in the DB it looks like DOE is the John DOE record.  Oh John DOE is a seed, ok i did NOT remove him, ill link him. 
Last edit: 4 months 2 weeks ago by durangod.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #2 by Luenissla
Hallo miteinander, hallo Greg,
ich sah gestern die oben angegebene Fehlermeldung im Log, wo sie regelmäßig eingetragen ist. Aufgrund der beschriebenen Vorgehensweise konnt ich den Fehler nun auch selber nachstellen.

Man geht auf in der Datei datenpool.bvff.de/tree/LUENENSCHLOSS_BDP_UTF8.ged
auf  "Lists" --> "Families" --> "L" --> "de Lünenschloss (1)"
Dahinter steckt dieser Link:
datenpool.bvff.de/tree/LUENENSCHLOSS_BDP...&alpha=L&show_marnm=
Er führt zu dem Fehler:
Undefined array key "DE LUENENSCHLOSS" …/app/Module/IndividualListModule.php:459
[...]
Ich kann aber keine Konstellation feststellen, die diesen Fehler auslösen könnte.
Ist hierzu vielleicht schon etwas mehr erfahren worden? 

Hello everyone, hello Greg,
I saw the above error message in the log yesterday, where it is regularly entered. Due to the procedure described, I was able to reproduce the error myself.

Go to the file datenpool.bvff.de/tree/LUENENSCHLOSS_BDP_UTF8.ged
to "Lists" --> "Families" --> "L" --> "de Lünenschloss (1)"
Behind it is this link:
datenpool.bvff.de/tree/LUENENSCHLOSS_BDP...&alpha=L&show_marnm=
It leads to the error: 
Undefined array key "DE LUENENSCHLOSS" .../app/Module/IndividualListModule.php:459
[...]
However, I cannot find any cons I can't find any information that could trigger this error.
Has anything more been learnt about this?  
 

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #3 by Franz Frese
Der Fehler kommt ja wohl von /modules_v4/family-tree-home.
Probiers mal ohne das Modul

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #4 by Luenissla
Leider nein.
Wenn ich die Meldung richtig interpretiere, dann liegt es an dem Modul: /app/Module/IndividualListModule.php.

Unfortunately not.
If I am interpreting the message correctly, then it is due to the module: /app/Module/IndividualListModule.php.
 

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #5 by fisharebest

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #6 by Luenissla
Hallo Greg,
danke für die Info. Gab es zu der Anpassung weitere Dateien, die ebenfalls mit übernommen werden müssen?
Die Änderung dieser Datei alleine führt ebenfalls zu einem Fehler:
Call to undefined method Fisharebest\Webtrees\Registry::container() …/app/Module/IndividualListModule.php:124


Hello Greg,
thanks for the info. Were there any other files for the customisation that also need to be transferred?
Changing this file alone also leads to an error:
Call to undefined method Fisharebest\Webtrees\Registry::container() .../app/Module/IndividualListModule.php:124

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #7 by fisharebest
I guess you took a file from the `main` branch (2.2), instead of the `2.1` branch.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #8 by Luenissla
Sorry, but I think to have the right one:

 

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #9 by Peter_S
Hallo Hans-Joachim,

ich habe den Fix direkt in das Modul aus dem 2.1.18-Download eingebaut. Der Fehler scheint behoben. Das Modul in Github beinhaltet vermutlich weitere Änderungen, die nichts mit diesem Fix zu tun haben. Jedenfalls hat es weniger Zeilen als das von mir geänderte Modul. Schon die Zeile 33 ist unterschiedlich. 
Fixes sollten direkt in die betroffenen Module eingebaut werden und nicht über einen Download von Github auf den neuesten Stand gebracht werden.

I have installed the fix directly in the module from the 2.1.18 download. The bug seems to be fixed. The module in Github probably contains further changes that have nothing to do with this fix. In any case, it has fewer lines than the module I changed. Even line 33 is different.
Fixes should be implemented directly in the affected modules and not be updated via a download from Github.

Peter

webtrees 2.1.20, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.2.4, MariaDB 10.3.38
Webhosting: genonline.de

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #10 by Luenissla
Hallo Peter,
ich habe befürchtet, dass in dem Modul auch weitere Änderungen eingebaut sind. So werde ich Deinem Beispiel folgen. ;-)

Hello Peter,
I was afraid that other changes were also built into the module. So I will follow your example ;-)

Best regards / Viele Grüße
Hans-Joachim (Lünenschloß)

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #11 by Franz Frese
If download is got from the 2.1 branch there should be no problem.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}