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([email protected])….. to see if it was only this record, I tried to add Q307 and same 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 🙂