- Posts: 319
Question repository_hierarchy module error
- mac.alter
- Topic Author
- Offline
- Senior Member
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.20 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
Looks the same as what's mentioned here: www.webtrees.net/index.php/forum/4-custo...repository-hierarchy
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
github.com/Jefferson49/RepositoryHierarchy/issues
It may happen on your website only, to solve the bug he may be helped tremendously with a copy of your data.
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- Jefferson49
- Offline
- Junior Member
- Posts: 224
Yes, it would be best to create an issue on Github and attach the Gedcom data of the individual or family, you have selected.Best is to report the issue there then...
github.com/Jefferson49/RepositoryHierarchy/issues
It may happen on your website only, to solve the bug he may be helped tremendously with a copy of your data.
As the module author, I am also reading the webtrees forum posts, but only from time to time. If you file a Github issue, I will directly get an email notification.
A first draft feedback on the error is that it might be related to a repository XREF (i.e. 2 REPO @X1234@), which is used in a source citation. Maybe, the XREF is empty or the XREF (X1234) does not exist.
I will check in more detail in the next days and will try to improve the robustness of the code
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- Jefferson49
- Offline
- Junior Member
- Posts: 224
The error can be reproduced, if a source contains a wrong XREF to a repository, e.g. if X1234 does not exist in the following example, and "Source facts to show for sources within source citations" is used :
0 @I9117@ INDI
1 BAPM
2 DATE 31 JAN 1881
2 SOUR @S10698@
0 @S10698@ SOUR
1 REPO @X1234@
You can try to search for these kind of wrong repository XREFs, if you check the webtrees tree in the control panel:
Control panel / Manage family trees / Check for errors
It might be possible to search in the browser for "Source:" or "does not exist".
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- Jefferson49
- Offline
- Junior Member
- Posts: 224
Since the module should be robust against wrong XREFs now, you can switch it on if you use the latest release (even if your tree contains errors)
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.