- Posts: 23
Question
Errors on auto upgrade from 2.0.26 to 2.1.20
- df23
-
Topic Author
- Offline
- New Member
-
Less
More
4 months 4 weeks ago #1
by df23
Errors on auto upgrade from 2.0.26 to 2.1.20 was created 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
Has anyone seen this before and fixed it?
Thanks
Dave
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.
- Franz Frese
-
- Offline
- Elite Member
-
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.
Modules are not auto upgraded.
Please Log in or Create an account to join the conversation.
- kiwi
-
- Offline
- Platinum Member
-
4 months 4 weeks ago - 4 months 4 weeks ago #3
by kiwi
You also need to upgrade or disable all/ any custom modules. The one listed in the error message can be upgraded from
cissee.de/
Nigel
www.our-families.info
Replied by kiwi on topic Errors on auto upgrade from 2.0.26 to 2.1.20
Code:Fatal error: Declaration of Cissee\Webtrees\Module\PersonalFacts\IndividualFactsTabModuleExtended::sidebarTitle(): string must be compatible with
Nigel
www.our-families.info
Last edit: 4 months 4 weeks ago by kiwi.
Please Log in or Create an account to join the conversation.
- df23
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 23
4 months 3 weeks ago #4
by df23
Replied by df23 on topic Errors on auto upgrade from 2.0.26 to 2.1.20
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
thanks again
Please Log in or Create an account to join the conversation.
- rascal
-
- Offline
- New Member
-
Less
More
- Posts: 31
3 months 5 days ago - 3 months 5 days ago #5
by rascal
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.
Replied by rascal on topic Errors on auto upgrade from 2.0.26 to 2.1.20
Hey, noob here.... how do i replace the vesta modules? just copy the new ones over the old ones?You have to replace the vesta modules with the latest version.
Modules are not auto upgraded.
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.
- Franz Frese
-
- Offline
- Elite Member
-
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.
And do a backup, that is always a good idea.
Please Log in or Create an account to join the conversation.
- rascal
-
- Offline
- New Member
-
Less
More
- Posts: 31
3 months 5 days ago #7
by rascal
Replied by rascal on topic Errors on auto upgrade from 2.0.26 to 2.1.20
Sorry, my mistake, i have 2.0.25
Please Log in or Create an account to join the conversation.
- bertkoor
-
- Offline
- Platinum Member
-
- Greetings from Utrecht, Holland
3 months 5 days ago #8
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
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
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.