magicsunday / webtrees-fan-chart

SVG based ancestor fan chart module for webtrees genealogy application.
GNU General Public License v3.0
60 stars 19 forks source link

v2.0 - Install of Zip File Bombs out Webtrees 2.0.2 #34

Closed dbq-andersons closed 4 years ago

dbq-andersons commented 4 years ago

I just pulled down the zip file for the first time and unzipped into my modules_v4 directory, verified that the directory is named webtrees-fan-chart and went to enable the module. However, my site throws a 500 error. Here is what the log shows:

[Fri Feb 21 14:27:24.801106 2020] [php7:error] [pid 2073] [client 204.69.146.61:11547] PHP Fatal error: Class MagicSunday\\Webtrees\\AncestralFanChart\\Module contains 6 abstract methods and must therefore be declared abstract or implement the remaining methods (Fisharebest\\Webtrees\\Module\\ModuleChartInterface::chartBoxMenu, Fisharebest\\Webtrees\\Module\\ModuleChartInterface::chartMenu, Fisharebest\\Webtrees\\Module\\ModuleChartInterface::chartMenuClass, ...) in /tools/webdocs/genealogy/webtrees2/modules_v4/webtrees-fan-chart/src/Module.php on line 24

This is happening on both my production 2.0.2 site and my 2.0.3 development site.

Hoping it's something simple I'm missing.

Cheers, Bill Anderson

magicsunday commented 4 years ago

There is currently no release version available working with the latest changes of webtrees. Could you please try the version from the master branch instead?

dbq-andersons commented 4 years ago

Hi Rico,

I installed the latest master and the whole site doesn't die. Progress! However, when I select the chart from the Charts menu, the module itself errors out with the attached message. I tried against both 2.0.2 and 2.0.3-dev (fresh pull this morning).

Thanks,

Bill

Use of undefined constant JSON_THROW_ON_ERROR - assumed 'JSON_THROW_ON_ERROR' (this will throw an Error in a future version of PHP) …/modules_v4/webtrees-fan-chart/src/Module.php:175

magicsunday commented 4 years ago

This was fixed a few minutes ago by #35