- This topic has 5 replies, 2 voices, and was last updated 4 years, 3 months ago by
kiwi.
- This topic has prefixes assigned
-
28th February 2019 at 10:45 pm #10650
Something is wrong – look here: https://jaconelli.dk/webtrees/individual.php?pid=I1797
Result: empty pageNigel
My personal kiwitrees site is www.our-families.info -
1st March 2019 at 8:05 am #10651
What do your error logs say? (Kiwitrees logs and / or your web server logs)
Nigel
My personal kiwitrees site is www.our-families.info -
1st March 2019 at 5:24 pm #10652
Nothing about this. Works normally with cousins.
Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
1st March 2019 at 5:54 pm #10653
Are you certain you checked the web server error log? Not the kiwitrees one (in admin > Site admin > logs).
I have been able to reproduce this on my own site. The error you should see in those error logs is like:
AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function getChildren() on null in /var/www/vhosts/xxxxx/modules_v4/cousins_tab/module.php:246\nStack trace:\n#0 /var/www/vhosts/kiwitrees.net/xxxxx/modules_v4/cousins_tab/module.php(128): cousins_tab_KT_Module->getSecondCousins(Object(KT_Family))\n#1 /var/www/vhosts/kiwitrees.net/xxxxx/individual.php(276): cousins_tab_KT_Module->getTabContent()\n#2 {main}\n thrown in /var/www/vhosts/kiwitrees.net/xxxxx/modules_v4/cousins_tab/module.php on line 246\n’
If you definitely don’t see this in your server logs, then I strongly recommend you ask your web host to enable error reporting for PHP. It will help you (and me) a great deal and have no impact on anything else, other than a new small file on the server.
Anyway, now that I can see the error report on my system I can look for the cause. It is somehow related to a family in the “2nd cousins” group for an individual having a null value in a family’s list of children (the “getChildren() function). Once I know the cause I can protect against the error.
I’ll get a correction as soon as possible.
Nigel
My personal kiwitrees site is www.our-families.info -
1st March 2019 at 7:29 pm #10654
Its working now. Here you can see the Second cousins:
https://jaconelli.dk/webtrees/individual.php?pid=I282
https://jaconelli.dk/webtrees/individual.php?pid=I200Regards, Jamie Jaconelli
admin and owner of a user customized version of kiwitrees (contain 3 family trees)
-
2nd March 2019 at 9:42 am #10661
Thanks for the confirmation.
For other members, attached, in the zip folder, is the replacement for kiwitrees/modules_v4/cousins_tab/module.php.
Nigel
My personal kiwitrees site is www.our-families.info
- The topic ‘Second Cousins’ is closed to new replies.