BlasiusSecundus / descendant_numbering

Genealogical numbering of descendants - Plugin for webtrees
GNU General Public License v3.0
1 stars 0 forks source link

Tab content must be compatible - changes in Webtrees API #7

Open curtisdelicata opened 6 years ago

curtisdelicata commented 6 years ago

PHP Fatal error: Declaration of BlasiusSecundus\WebtreesModules\DescendantNumbering\DescendantNumberingModule::hasTabContent() must be compatible with Fisharebest\Webtrees\Module\ModuleTabInterface::hasTabContent(Fisharebest\Webtrees\Individual $individual) in /public_html/modules_v3/descendant_numbering/module.php on line 16

curtisdelicata commented 6 years ago

I've made progress with the errors.

Adding Individual $individual to the relevant functions which display the error. Passing the variable on get facts.

No errors but no data either now

BlasiusSecundus commented 6 years ago

Is this on v2.0 dev? Currently, the module supports only v1.7.9. v2.0 compatibility will be added too, of course.

curtisdelicata commented 6 years ago

Yes. I'm running 2.0 dev