This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: PlacesModule.php on line 35

PlacesModule.php on line 35 1 month 3 weeks ago #1

  • genealogie
  • genealogie's Avatar
  • Offline
  • New
  • Posts: 1
Hi all !

I'm testing webtrees v1.7.12 on PHP version 7.0.33.
In Admin mode, when I click on the (french) menu "Modules" then "Administration des modules", I have an error :

Fatal error: Declaration of Fisharebest\Webtrees\Module\PlacesModule::getTabContent(Fisharebest\Webtrees\Individual $individual): string must be compatible with Fisharebest\Webtrees\Module\ModuleTabInterface::getTabContent() in /homepages/41/d663579176/htdocs/patrice.serrano/app/Module/PlacesModule.php on line 35

Can you tell me what to do ?
Thanks
Patrice
The administrator has disabled public write access.

PlacesModule.php on line 35 1 month 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10825
You are using webtrees 1.7

app/Module/PlaceModule.php is code from webtrees 2.0

Did you try installing 2.0 and then installing 1.7? If so, you may have many other files from 2.0...

I suggest you delete:

modules_v3/places/module.php
app/Module/PlaceModule.php
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.
Powered by Kunena Forum