Web based family history software

This Help forum is for issues relates to the latest release (1.5.x). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.

Question fatal error in interactive tree

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
9 years 9 months ago #1 by Bogie
fatal error in interactive tree was created by Bogie
I get a fatal error when calling the interactive tree tab on an individual's page. What does that mean?

Catchable fatal error: Argument 1 passed to TreeView::drawPerson() must be an instance of WT_Individual, null given, called in /.../modules_v3/tree/class_treeview.php on line 292 and defined in /.../modules_v3/tree/class_treeview.php on line 212

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #2 by fisharebest
Replied by fisharebest on topic fatal error in interactive tree

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
9 years 9 months ago #3 by Bogie
Replied by Bogie on topic fatal error in interactive tree
Thank you, Greg, found the replacement file, but now I don't find the affected individuals in my tree anymore :-)

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

  • dumy47
  • Visitor
  • Visitor
9 years 9 months ago #4 by dumy47
Replied by dumy47 on topic fatal error in interactive tree
bonjour,
J'ai le même problème... Pouvez vous m'indiquer ou se trouve exactement le correctif.
Merci

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
9 years 9 months ago #5 by Bogie
Replied by Bogie on topic fatal error in interactive tree
Bonjour,

The solution was mentioned in the following post. Just follow the link:

fisharebest wrote:

If it's a simple change in code then it might be worthwile to share instructions to patch it.


This replacement file should work...

raw.githubusercontent.com/fisharebest/we...e/class_treeview.php


Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

  • dumy47
  • Visitor
  • Visitor
9 years 9 months ago #6 by dumy47
Replied by dumy47 on topic fatal error in interactive tree
Merci.

Please Log in or Create an account to join the conversation.

  • Bogie
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
9 years 9 months ago #7 by Bogie
Replied by Bogie on topic fatal error in interactive tree

Bogie wrote: Thank you, Greg, found the replacement file, but now I don't find the affected individuals in my tree anymore :-)



After I happend to get the error again I replaced the PHP file and it works.
Thank you, Greg.

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #8 by leozwaga
Replied by leozwaga on topic fatal error in interactive tree
I had the same problem.
I replace class_treeview.php and that solution worked!!
Thnx

(missing grandparents of the spous??)

Leo
webtrees 1.7.9
Php: 7.0.22
MySQL: 5.6.36
(on 20-9-2017)
Attachments:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}