• This topic has prefixes assigned
Viewing 6 posts - 1 through 6 (of 6 total)
Author
Posts
  • #10650

    Something is wrong – look here: https://jaconelli.dk/webtrees/individual.php?pid=I1797
    Result: empty page

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #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
  • #10652

    Nothing about this. Works normally with cousins.

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #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
  • #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=I200

    Regards,
    Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contains 3 family trees)

  • #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
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Second Cousins’ is closed to new replies.