Closed TheDutchJewel closed 2 years ago
Strange! The "StatisticsChartModule" calls ... "commonCountriesList" calls ... "PlaceRepository" for Danish Language. Maybe ok so far. But why is this calling the translation function in the "ExtendedFamilyModule"? There is no function "danishTranslations" in my module. The lines around the mentioned line #577 in \modules_v4\hh_extended_family\ExtendedFamilyTabModule.php:577 are used to call the germanTranslations. Are you sure that you are using the original file "ExtendedFamilyTabModule.php"?
No, apparently it was not the original version of" ExtendedFamilyTranslations.php".
It seems I used an updated version from the master branch. In it, certain translation sections (including Danish) are missing, while according to the "ExtendedFamilyTabModule.php" file, they were expected to be present.
After adding the missing parts in "ExtendedFamilyTranslations.php" (or using the original file) the problem was solved.
No matter which language I use, always get this error only in the Statistics > Other tab:
Call to undefined method Hartenthaler\Webtrees\Module\ExtendedFamily\ExtendedFamilyTranslations::danishTranslations() …\modules_v4\hh_extended_family\ExtendedFamilyTabModule.php:577
Tested with webtrees v2.0.19 and all modules disabled except 'hh_extended_family' (Extended Family v2.1.0.1).