Web based family history software

Question Version 2.1.13 crashes

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #1 by philmck
Version 2.1.13 crashes was created by philmck
Can't find any place to report bugs so posting here. Recent upgrade to 2.1.13 causes a fatal error, stacktrace below (on Ubuntu 18.04 LTS, PHP 7.4):

Error: Class 'Fisharebest\webtrees\Elements\FamilyResidence' not found in /home/mckerracher/public_html/webtrees/app/Gedcom.php:476 Stack trace: #0 /home/mckerracher/public_html/webtrees/app/Gedcom.php(1117): Fisharebest\webtrees\Gedcom->gedcom551Tags() #1 /home/mckerracher/public_html/webtrees/app/Http/Middleware/RegisterGedcomTags.php(52): Fisharebest\webtrees\Gedcom->registerTags() #2 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\RegisterGedcomTags->process() #3 /home/mckerracher/public_html/webtrees/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle() #4 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\LoadRoutes->process() #5 /home/mckerracher/public_html/webtrees/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle() #6 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckForNewVersion->process() #7 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle() #8 /home/mckerracher/public_html/webtrees/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\webtrees\Http\Middleware\UseTransaction::Fisharebest\webtrees\Http\Middleware\{closure}() #9 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction() #10 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTransaction->process() #11 /home/mckerracher/public_html/webtrees/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle() #12 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\DoHousekeeping->process() #13 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle() #14 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTheme->process() #15 /home/mckerracher/public_html/webtrees/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle() #16 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckForMaintenanceMode->process() #17 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle() #18 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseLanguage->process() #19 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle() #20 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseSession->process() #21 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle() #22 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UpdateDatabaseSchema->process() #23 /home/mckerracher/public_html/webtrees/app/Http/Middleware/UseDatabase.php(118): Middleland\Dispatcher->handle() #24 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseDatabase->process() #25 /home/mckerracher/public_html/webtrees/app/Http/Middleware/BadBotBlocker.php(245): Middleland\Dispatcher->handle() #26 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BadBotBlocker->process() #27 /home/mckerracher/public_html/webtrees/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle() #28 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CompressResponse->process() #29 /home/mckerracher/public_html/webtrees/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle() #30 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ContentLength->process() #31 /home/mckerracher/public_html/webtrees/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle() #32 /home/mckerracher/public_html/webtrees/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process() #33 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ClientIp->process() #34 /home/mckerracher/public_html/webtrees/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle() #35 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\HandleExceptions->process() #36 /home/mckerracher/public_html/webtrees/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle() #37 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BaseUrl->process() #38 /home/mckerracher/public_html/webtrees/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle() #39 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ReadConfigIni->process() #40 /home/mckerracher/public_html/webtrees/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle() #41 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\SecurityHeaders->process() #42 /home/mckerracher/public_html/webtrees/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle() #43 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\EmitResponse->process() #44 /home/mckerracher/public_html/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle() #45 /home/mckerracher/public_html/webtrees/app/webtrees.php(275): Middleland\Dispatcher->dispatch() #46 /home/mckerracher/public_html/webtrees/app/webtrees.php(262): Fisharebest\webtrees\webtrees::dispatch() #47 /home/mckerracher/public_html/webtrees/index.php(51): Fisharebest\webtrees\webtrees->httpRequest() #48 {main}

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

More
1 year 9 months ago #2 by fisharebest
Replied by fisharebest on topic Version 2.1.13 crashes
> Error: Class 'Fisharebest\webtrees\Elements\FamilyResidence'

In this release, the "Residence" elements were re-designed to allow for the difference between GEDCOM 5.5.1 and GEDCOM 7.0.

Are you using a custom module that is trying to use this element?
If so, you might want to disable the module until an update is available.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #3 by philmck
Replied by philmck on topic Version 2.1.13 crashes
No, it's a vanilla installation.

Rolling it back to the previous version hasn't worked either. I'm getting a server 500 error. Debug log shows:

[Thu Dec 15 17:48:41.598508 2022] [proxy_fcgi:error] [pid 31829:tid 139972594906880] [client 2a00:23c4:80aa:9901:cdc7:66d5:8379:5881:51096] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\Cache\\Adapter\\ArrayAdapter' not found in /home/mckerracher/public_html/webtrees/app/Factories/CacheFactory.php:51\nStack trace:\n#0 /home/mckerracher/public_html/webtrees/app/webtrees.php(201): Fisharebest\\webtrees\\Factories\\CacheFactory->__construct()\n#1 /home/mckerracher/public_html/webtrees/index.php(46): Fisharebest\\webtrees\\webtrees->bootstrap()\n#2 {main}\n thrown in /home/mckerracher/public_html/webtrees/app/Factories/CacheFactory.php on line 51'
[Thu Dec 15 17:49:09.738390 2022] [proxy_fcgi:error] [pid 31829:tid 139972220765952] [client 114.119.159.216:63335] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\Cache\\Adapter\\ArrayAdapter' not found in /home/mckerracher/public_html/webtrees/app/Factories/CacheFactory.php:51\nStack trace:\n#0 /home/mckerracher/public_html/webtrees/app/webtrees.php(201): Fisharebest\\webtrees\\Factories\\CacheFactory->__construct()\n#1 /home/mckerracher/public_html/webtrees/index.php(46): Fisharebest\\webtrees\\webtrees->bootstrap()\n#2 {main}\n thrown in /home/mckerracher/public_html/webtrees/app/Factories/CacheFactory.php on line 51', referer: www.mckerracher.net/webtrees/index.php?r...lexander-McKerracher

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

More
1 year 9 months ago #4 by fisharebest
Replied by fisharebest on topic Version 2.1.13 crashes
> Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\Cache\\Adapter\\ArrayAdapter' not found

The file vendor/symfony/cache/Adapter/ArrayAdapter.php is either missing or truncated.

It is definitely included in the webtrees-2.1.13.zip release file.

Can you check you copied this file (all files) to the server correctly?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

More
1 year 9 months ago #5 by ric2015
Replied by ric2015 on topic Version 2.1.13 crashes
Note: Same issue is reported by several other users here .

@philmck in general, see the "Category header" for this sub-forum: 'Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.'

Do we have to make that text even larger? ;-)

Richard

webtrees 2.1.19 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #6 by philmck
Replied by philmck on topic Version 2.1.13 crashes
Well spotted, thanks. It looks like the whole "cache" folder is missing, probably due to an exception in the backup script, intended to prevent backup of frequently changing and unwanted files. I'm a bit reluctant to override that.

I have three different backups and am taking the opportunity to test restoral, so this is good information. Restoring backup #2 as we speak...

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #7 by philmck
Replied by philmck on topic Version 2.1.13 crashes
:-) Sorry I missed the github bug link. Putting it in a menu rather than buried in a page would have helped me find it, but I'm not necessarily a typical user and you can't please everyone.

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #8 by philmck
Replied by philmck on topic Version 2.1.13 crashes
FYI - Backup #2 (completely different system) has just failed for exactly the same reason, this seems to be a common issue.

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 9 months ago #9 by philmck
Replied by philmck on topic Version 2.1.13 crashes
Update: Backup #3 succeeded, and I also found the download link for the previous version (and bug reporting link) under "Links". I hadn't previously expanded that menu item, sorry. I think I expected it to contain links to other external sites.

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

More
1 year 9 months ago #10 by eh215
Replied by eh215 on topic Version 2.1.13 crashes
@Ric2015

Do we have to make that text even larger? ;-)


No need to take this extra step and be sarcastic, belittling another editor. If you were trying to be funny it doesn't come across well.

In any case Greg provided the solution mostly in this thread not the one you linked :)

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

  • philmck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #11 by philmck
Replied by philmck on topic Version 2.1.13 crashes
In case anyone else is affected by this, it turned out to be a known issue in the file /app/Http/RequestHandlers/UpgradeWizardStep.php. You can download a replacement here.
raw.githubusercontent.com/fisharebest/we...pgradeWizardStep.php

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

Powered by Kunena Forum