Viewing 3 posts - 11 through 13 (of 13 total)
Author
Posts
  • #3589

    First I removed the first note
    Then I removed the second
    Both same result.
    Then I removed the restriction.
    Error gone.

    I have restriction at “research task” in general option and then I have made (earlier) a separated restriction at the fact at the indi – This twice restriction made this error. (because I edit my general option lately without thinking of each post with each restriction will cause an error)

    Regards, Jamie Jaconelli

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

  • #3590

    I can’t agree with your results I’m afraid.

    Also, the error message is clearly ONLY related to NOTES. The error message refers to “Fatal error: Cannot use string offset as an array in /../webtrees/includes/functions/functions_print_facts.php on line 950” That part of the code only deals with the display of notes.

    In my testing, having multiple restrictions (global plus fact level) does not matter. That is also what the code tells me. Restrictions are only read in a hierarchy – first look at fact level. If restriction is found use that and ignore all others. That is necessary to allow you to set a global level, then over-ride it at a higher level for a specific fact.

    But if you add two notes to any fact (not just research task) AND add a local (fact) restriction then you will generate the error.
    The error does not happen if there is ONLY a global restriction, nor if there is no global restriction.

    So in summary, the error occurs for any fact that has two or more notes, and a local (fact level) restriction.

    I will add this to the bug list and fix it when and if I can.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #3591

    Well I am happy you figured out the problem. No matter how it is related ๐Ÿ™‚
    Thank you for your time ๐Ÿ™‚

    Regards, Jamie Jaconelli

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

Viewing 3 posts - 11 through 13 (of 13 total)
  • The topic ‘View notes’ is closed to new replies.