Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
  • #1810

    I have just found a single individual whose page is broken. The rest all seem to be fine. Any ideas on what I should look at to find out why this has happened? http://tree.potts.net.au. They are a living person. Here’s the error:

    ERROR 8: Undefined variable: person
    0 Error occurred on line 1465 of file Person.php in function add_asso_facts
    1 called from line 1130 of file Person.php in function add_family_facts
    2 called from line 68 of file module.php in function getTabContent
    3 called from line 136 of file Individual.php in function ajaxRequest
    4 called from line 39 of file individual.php

    Notice: Undefined variable: person in /home/pottsne/public_html/tree/phpgedview/library/WT/Person.php on line 1465

    Fatal error: Call to a member function getXref() on a non-object in /home/pottsne/public_html/tree/phpgedview/library/WT/Person.php on line 1465

  • #1811

    That’s this bug: https://kiwitrees.net/forums/topic/error-8-undefined-variable-person/

    Fix in zip attachment at page bottom.

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

    Thanks Nigel. Fixed! ๐Ÿ™‚ Do you like how I have used your simpl_pages for reproduction of family history books?

  • #1813

    Do you like how I have used your simpl_pages for reproduction of family history books?

    Looks good.
    If later on you find you have too many icons on the menu bar there are two possible changes:

    1. Use simpl_menu to create a single menu item, with sub-menus that link to each of the simpl_pages
    2. Move all of your “books” to one instance of simpl_pages. Each family would then have their own sub-menu. You can use jquery_tabs (same as used on individual pages) to create a secondary set of tabbed pages within each book. See https://kiwitrees.net/modifying-webtrees/adding-tabbed-sections-to-a-story/ for details of this. You can see a working example on my site Go to Menu Other > Resources > The Ancestor Paradox.
    Nigel
    My personal kiwitrees site is www.our-families.info
  • #1815

    Excellent! Thanks for the advice. I can see more hours of playing coming up. ๐Ÿ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Broken individual’ is closed to new replies.