Viewing 2 posts - 1 through 2 (of 2 total)
Author
Posts
  • #5422

    Irina Pavlovna PALEY (Q1359)
    I created a family with spouse Hubert de Monbrison (add existing). On View Family page, used Change Family Members to add Q306 as child. When I then clicked the record to edit, got a Fatal error: Uncaught exception ‘Exception’ with message ‘Invalid family in WT_Person::getStepFamilyLabel(F1679@2)….. to see if it was only this record, I tried to add Q307 and same problem.

    Your account is active.

    ----- [updated: 31Aug2023]

     Alter-Drukarsh connections |The Garelicks|Journal 3.3.12 -  PHP Version 8.1.17 - mySQL 8.1
    The Royals |The Kennedys|The Gerrer Rabbis  3.3.12 -  PHP Version 8.1.17 - mySQL 8.1

  • #5423

    An interesting problem.

    The error was easy to find. But thinking about possible ways to prevent it would take a lot longer, so I’m reluctant to try.

    The problem: You have Feodor Alexandrovich ROMANOV (Q305) recorded as female, but as HUSB in his family with Irina. So the step-family labels required for F1679 after adding Q306 to F1680 don’t know how to determine step-mother / step-father. Fix his gender and the error goes away. I confirmed this, but then put it back as it was for you to see.

    I think the issue is that the “step-xxxx” labels are determined by gender, but family positions are by HUSB / WIFE tags. So you generated a conflicting situation. It makes me wonder how this would behave if it was an actual same-sex couple. It’s making my head spin 🙂

    Nigel
    My personal kiwitrees site is www.our-families.info
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.