Web based family history software

file Question Errors on auto upgrade from 2.0.26 to 2.1.20

More
4 months 4 weeks ago #1 by df23
I have successfully manually upgraded from v2.0.17 to 2.0.26.
I then used the auto update to go to the latest version 2.1.20 and get the below error when accessing any page
Using php v7.4 for the upgrade, once upgrade is successful will move to v8.x
Code:
Fatal error: Declaration of Cissee\Webtrees\Module\PersonalFacts\IndividualFactsTabModuleExtended::sidebarTitle(): string must be compatible with Fisharebest\Webtrees\Module\ModuleSidebarInterface::sidebarTitle(Fisharebest\Webtrees\Individual $individual): string in /home/mydomain/modules_v4/vesta_personal_facts/IndividualFactsTabModuleExtended.php on line 456 Fatal error: Uncaught Error: Typed static property Fisharebest\Webtrees\I18N::$locale must not be accessed before initialization in /home/mydomain/app/I18N.php:365 Stack trace: #0 /home/mydomain/app/Factories/TimestampFactory.php(50): Fisharebest\Webtrees\I18N::locale() #1 /home/mydomain/app/Factories/TimestampFactory.php(81): Fisharebest\Webtrees\Factories\TimestampFactory->make(1726159896, Object(Fisharebest\Webtrees\User)) #2 /home/mydomain/app/SessionDatabaseHandler.php(89): Fisharebest\Webtrees\Factories\TimestampFactory->now() #3 [internal function]: Fisharebest\Webtrees\SessionDatabaseHandler->write('e8abeeda6f6710d...', 'initiated|b:1;_...') #4 [internal function]: session_write_close() #5 {main} thrown in /home/mydomain/app/I18N.php on line 365

Has anyone seen this before and fixed it?

Thanks
Dave

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

More
4 months 4 weeks ago #2 by Franz Frese
Replied by Franz Frese on topic Errors on auto upgrade from 2.0.26 to 2.1.20
You have to replace the vesta modules with the latest version.
Modules are not auto upgraded.

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

More
4 months 4 weeks ago - 4 months 4 weeks ago #3 by kiwi

Code:
Fatal error: Declaration of Cissee\Webtrees\Module\PersonalFacts\IndividualFactsTabModuleExtended::sidebarTitle(): string must be compatible with
 
You also need to upgrade or disable all/ any custom modules. The one listed in the error message can be upgraded from  cissee.de/
Last edit: 4 months 4 weeks ago by kiwi.

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

More
4 months 3 weeks ago #4 by df23
thanks both for your response. I should have spotted the reference to the vesta modules and worked that out for myself. Modules have been updated and site is working.
thanks again

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

More
3 months 5 days ago - 3 months 5 days ago #5 by rascal

You have to replace the vesta modules with the latest version.
Modules are not auto upgraded.

 
Hey, noob here.... how do i replace the vesta modules? just copy the new ones over the old ones?

is it in general possible to upgrade my installation to the newest webtrees version?
i have webtrees 2.1.20 with a php version of 7.4.33
i guess when i upgrade the php version i can't access webtrees any more to upgrade it.
Last edit: 3 months 5 days ago by rascal.

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

More
3 months 5 days ago #6 by Franz Frese
Replied by Franz Frese on topic Errors on auto upgrade from 2.0.26 to 2.1.20
 2.1.20 is the latest version. So there is nothing to do.

And do a backup, that is always a good idea.

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

More
3 months 5 days ago #7 by rascal
Sorry, my mistake, i have 2.0.25

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

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
3 months 5 days ago #8 by bertkoor
Replied by bertkoor on topic Errors on auto upgrade from 2.0.26 to 2.1.20
See the requirements here:
webtrees.net/install/requirements/

Webtrees 2.1 should work with PHP v7.4

stamboom.BertKoor.nl runs on webtrees v2.1.20

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

Powered by Kunena Forum