Web based family history software

This Help forum is for issues relates to the latest release (1.7.7). 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."

Important [SOLVED] Fatal error - FanchartController.php on line 351

  • boppex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #1 by boppex
When starting the fan chart this error pops-up:

Fatal error: Call to a member function getLink() on a non-object in /home/lauckhart/domains/lauckhart.nl/public_html/webtrees/app/Controller/FanchartController.php on line 351
Attachments:

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

More
7 years 8 months ago #2 by eh215
Your site looks like it has been highly customized - there are no "facts" visible for the individuals I looked at - simply the names and the other header information.

Is it possible that the customization has broken the Fan Report? I ask because that report is working fine on my site for several individuals and for many generations. It also works OK on both of the demo sites.

Do you have an easy way of reverting your site to a more default view as part of trouble-shooting?

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

  • boppex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #3 by boppex
eh12,

thanks for your reply.
I haven't done code modifcation. I only installed the free "just light theme" and official theme. [url=http://] www.justcarmen.nl/themes/justlight-theme/ [/url]
You can switch the theme in the top of the screen.

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
7 years 8 months ago #4 by bertkoor
The error does not occur with the other themes, only with JustLight. Also this specific code construct is only present in the Fanchart controller:
github.com/fisharebest/webtrees/search?u...&q=individualBoxMenu
Code:
foreach (Theme::theme()->individualBoxMenu($person) as $menu) { $html .= '<li><a href="' . $menu->getLink() . '">' . $menu->getLabel() . '</a></li>'; }


Better contact JustCarmen. She might figure out what's wrong and fix it. I've noticed on her own site she has disabled the fan chart, so that explains why this error did not surface before.

stamboom.BertKoor.nl runs on webtrees v1.7.13

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

More
7 years 8 months ago #5 by eh215
You have other issues with your site that need to be addressed. I assumed you had customized things but when I switched to the webtrees theme i see a display like the one below.




You can see the difference by looking at the demo site.

Check your error logs, the internal webtrees error log at control panel --> website --> website logs (error log) , and also your webserver's error logs. An error is appearing that is preventing webtrees from fully displaying the facts for individuals, leaving the page half-built.

Eric
Attachments:

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

More
7 years 8 months ago #6 by mp
I use the Justlight theme too and I could reproduce the error message with the fan chart. Please report the issue via Github to Carmen.

Martin - ffp.bauschaffen.de

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

  • bertkoor
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
7 years 7 months ago #7 by bertkoor

eh215 wrote: You have other issues with your site that need to be addressed. I assumed you had customized things but when I switched to the webtrees theme i see a display like the one below.



Well, Eric, that could be configured on purpose:
* Extend privacy for dead people with 500 years
* Show names only for private individuals
* Show details to members only

The login details for his site are in his profile details.

stamboom.BertKoor.nl runs on webtrees v1.7.13

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

More
7 years 7 months ago #8 by JustCarmen
Replied by JustCarmen on topic Fatal error - FanchartController.php on line 351
I can confirm the error in combination with the JustLight theme. I will look into it.


Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2


Check my website at www.justcarmen.nl

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

More
7 years 7 months ago #9 by JustCarmen
Replied by JustCarmen on topic Fatal error - FanchartController.php on line 351


Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar, Fancy Research Links and Fancy Treeview for webtrees 2


Check my website at www.justcarmen.nl

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

  • boppex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #10 by boppex
Thanks. I've replaced theme.php

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

  • boppex
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 7 months ago #11 by boppex
Problem solved.

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

Powered by Kunena Forum
}