An error occurred while accessing a deceased individual while not logged in
iyoua opened this issue · 5 comments
iyoua commented
Call to a member function attribute() on null …/modules_v4/vytux_cousins-master/module.php:217
#0 …/modules_v4/vytux_cousins-master/resources/views/tab.phtml(26): Vytux\WebtreesModules\VytuxCousins\VytuxCousinsTabModule->getChildLabel()
#1 …/app/View.php(183): include('/www/wwwroot/ch...')
#2 …/app/View.php(278): Fisharebest\Webtrees\View->render()
#3 …/app/Helpers/functions.php(145): Fisharebest\Webtrees\View::make()
#4 …/modules_v4/vytux_cousins-master/module.php(248): view()
...
vytux-com commented
Are you able to provide the raw gedcom record for this?
At a guess it's probably caused by an individual with no family records? I'll have a look tonight, but it would be good to have some reproducible records so I can test the fix
jpretired commented
iyoua commented
When viewing a deceased individual without logging in, an error will occur when the person has a cousin, and no error will occur if he does not have a cousin. After logging in, it will display normal.
…------------------ 原始邮件 ------------------
发件人: "vytux-com/vytux_cousins" ***@***.***>;
发送时间: 2022年5月26日(星期四) 凌晨5:42
***@***.***>;
***@***.******@***.***>;
主题: Re: [vytux-com/vytux_cousins] An error occurred while accessing a deceased individual while not logged in (Issue #18)
Are you able to provide the raw gedcom record for this?
At a guess it's probably caused by an individual with no family records? I'll have a look tonight, but it would be good to have some reproducible records so I can test the fix
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
iyoua commented
You can test it at the following website:
https://chen.zong.pub/tree/my/individual/X65/chen-pi-hao
account number:test
password:test1234
vytux-com commented
OK, found the issue and fix is about to be committed, its caused by privacy when some relatives are private and thus the family record gets hidden by webtrees.