Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC: Check for Errors: Post-upgrade to 2.0.3

Check for Errors: Post-upgrade to 2.0.3 2 weeks 6 days ago #1

  • lickity40
  • lickity40's Avatar Topic Author
  • Offline
  • New
  • New
  • Old Profile Deleted
  • Posts: 11
Hello,

I've seen a similar problem shown in this forum category relating to an orphaned story file. I can't seem to determine what Individual/Family/Story or other item this relates to. I will only paste a few lines of the message here:
#0 …/app/Http/Controllers/AdminTreesController.php(302): Fisharebest\Webtrees\Http\Controllers\AdminTreesController->checkReverseLink('FAMC', Array, 'I1121', 142, 'FAMC', Array)
...
#57 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#58 …/index.php(55): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#59 {main}
I checked the record of the individual and the family and nothing seems out of sorts.

Thank you
webtrees v. 2.0.3
PHP Version 7.3.17
Memory 128MB

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
This is a known error that happens when you have a record with a purely numeric identifier.

webtrees creates records with identifiers starting with a digit. e.g. "X123". However, data imported from a GEDCOM file may contain identifiers in any format.

I thought the problem only happened with PHP 7.4, but if you are using 7.3, then probably this version too.

Essentially PHP silently converts text to numbers when it looks numeric, and then complains that you are using a number when it expects text.

I'll get this fixed as soon as I can...
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 6 days ago #3

  • lickity40
  • lickity40's Avatar Topic Author
  • Offline
  • New
  • New
  • Old Profile Deleted
  • Posts: 11
Thank you for that information. I can live with that of course. But maybe on the subject or similar -

I am getting a similar error (in appearance only) in some cases when using a 3rd party module: Extended Relationships - by ric2016. It only appears on some relatives.

When the Relationships box is unchecked, everything is fine. Even when using the Relationship from the pull-down menu, all is fine. https://gyazo.com/36c27579365f3914508c3982f0444d01

When the box is checked though, I get this. (and this is only with some relatives and they are even close such as a great uncle):

https://gyazo.com/4bdc345a045dde8b2d31cf6d47e2f88b
webtrees v. 2.0.3
PHP Version 7.3.17
Memory 128MB

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 5 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
The last screendump shows that you are using a 3rd party module.

I would need to see a few more lines of the error to be certain, but I *think* this needs to be fixed in that module.

You can report errors at github.com/vesta-webtrees-2-custom-modul...relationships/issues
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 5 days ago #5

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
> I'll get this fixed as soon as I can...

It was already fixed. Just waiting for the next release.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 5 days ago #6

fisharebest wrote: I would need to see a few more lines of the error to be certain, but I *think* this needs to be fixed in that module.


The custom module uses core webtrees functionality at this point (calculateRelationships in RelationshipsChartModule) - therefore it seems to be the same issue, and should be resolved after the next webtrees release.
Richard

webtrees 2.0.4 at cissee.de/webtrees2
Custom modules for 1.7.x and 2.x (Extended Relationships, Gov4Webtrees, Shared Places, Compact Themes Adjuster) available at cissee.de

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 4 days ago #7

  • lickity40
  • lickity40's Avatar Topic Author
  • Offline
  • New
  • New
  • Old Profile Deleted
  • Posts: 11
I'm not certain if you're saying this issue IS resolved in the next issue AND if you'd like to see more lines of error code.

Of course there are two different places this kind of error is appearing. The one I submitted originally was in the Check for Errors in the Control Panel. The other was while using the Extended Relations module. (ric2016 actually produced an upgrade which I applied this morning) The code follows for that error.
Argument 1 passed to Fisharebest\Webtrees\Family::getInstance() must be of the type string, int given, called in …/app/Module/RelationshipsChartModule.php on line 674 …/app/Family.php:115
#0 …/app/Module/RelationshipsChartModule.php(674): Fisharebest\Webtrees\Family::getInstance(132, Object(Fisharebest\Webtrees\Tree))
#1 [internal function]: Fisharebest\Webtrees\Module\RelationshipsChartModule->oldStyleRelationshipPath(Object(Fisharebest\Webtrees\Tree), Array)
#2 …/modules_v4/vesta_extended_relationships-master/ExtendedRelationshipController.php(149): ReflectionMethod->invoke(Object(Fisharebest\Webtrees\Module\RelationshipsChartModule), Object(Fisharebest\Webtrees\Tree), Array)
#3 …/modules_v4/vesta_extended_relationships-master/FunctionsPrintRels.php(89): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipController->oldStyleRelationshipPath(Object(Fisharebest\Webtrees\Tree), Array)
#4 …/modules_v4/vesta_extended_relationships-master/FunctionsPrintRels.php(38): Cissee\Webtrees\Module\ExtendedRelationships\FunctionsPrintRels::printSlcasBetween('_vesta_extended...', Object(Fisharebest\Webtrees\Individual), Object(Fisharebest\Webtrees\Individual), 1, 99, true)
#5 …/modules_v4/vesta_extended_relationships-master/AjaxRequests.php(25): Cissee\Webtrees\Module\ExtendedRelationships\FunctionsPrintRels::printSlcasWrtDefaultIndividual('_vesta_extended...', Object(Fisharebest\Webtrees\Individual), 1, 99, true)
#6 …/modules_v4/vesta_extended_relationships-master/ExtendedRelationshipModule.php(604): Cissee\Webtrees\Module\ExtendedRelationships\AjaxRequests::printMainSlcas('_vesta_extended...', Object(Nyholm\Psr7\ServerRequest), Object(Fisharebest\Webtrees\Tree))
#7 …/app/Http/RequestHandlers/ModuleAction.php(90): Cissee\Webtrees\Module\ExtendedRelationships\ExtendedRelationshipModule->getMainRelsAction(Object(Nyholm\Psr7\ServerRequest))
#8 …/app/Http/Middleware/WrapHandler.php(83): Fisharebest\Webtrees\Http\RequestHandlers\ModuleAction->handle(Object(Nyholm\Psr7\ServerRequest))
#9 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\WrapHandler->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#10 …/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#11 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#12 …/app/Http/Middleware/CheckCsrf.php(75): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#13 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#14 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#15 …/app/Http/Middleware/Router.php(134): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#16 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#17 …/app/Http/Middleware/BootModules.php(62): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#18 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#19 …/app/Http/Middleware/LoadRoutes.php(76): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#20 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\LoadRoutes->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#21 …/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#22 …/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\Webtrees\Http\Middleware\UseTransaction::Fisharebest\Webtrees\Http\Middleware\{closure}(Object(Illuminate\Database\MySqlConnection))
#23 …/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction(Object(Closure), 3)
#24 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTransaction->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#25 …/app/Http/Middleware/DoHousekeeping.php(81): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#26 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\DoHousekeeping->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#27 …/app/Http/Middleware/UseTheme.php(70): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#28 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseTheme->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#29 …/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#30 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckForMaintenanceMode->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#31 …/app/Http/Middleware/UseLanguage.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#32 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseLanguage->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#33 …/app/Http/Middleware/UseSession.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#34 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseSession->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#35 …/app/Http/Middleware/UseFilesystem.php(58): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#36 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseFilesystem->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#37 …/app/Http/Middleware/UpdateDatabaseSchema.php(58): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#38 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UpdateDatabaseSchema->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#39 …/app/Http/Middleware/UseDebugbar.php(67): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#40 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDebugbar->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#41 …/app/Http/Middleware/UseDatabase.php(106): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#42 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseDatabase->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#43 …/app/Http/Middleware/BadBotBlocker.php(208): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#44 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BadBotBlocker->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#45 …/app/Http/Middleware/UseCache.php(74): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#46 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\UseCache->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#47 …/vendor/middlewares/client-ip/src/ClientIp.php(81): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#48 …/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#49 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#50 …/app/Http/Middleware/HandleExceptions.php(76): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#51 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#52 …/app/Http/Middleware/BaseUrl.php(77): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#53 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BaseUrl->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#54 …/app/Http/Middleware/ReadConfigIni.php(65): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#55 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\ReadConfigIni->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#56 …/app/Http/Middleware/SecurityHeaders.php(47): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#57 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\SecurityHeaders->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#58 …/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#59 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#60 …/app/Http/Middleware/PhpEnvironment.php(49): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#61 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\PhpEnvironment->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#62 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#63 …/index.php(55): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#64 {main}
webtrees v. 2.0.3
PHP Version 7.3.17
Memory 128MB

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

Check for Errors: Post-upgrade to 2.0.3 2 weeks 4 days ago #8

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
As far as I can tell, both issues are fixed. Wait for the next release.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Check for Errors: Post-upgrade to 2.0.3 2 weeks 4 days ago #9

  • lickity40
  • lickity40's Avatar Topic Author
  • Offline
  • New
  • New
  • Old Profile Deleted
  • Posts: 11
Thanks mate!
webtrees v. 2.0.3
PHP Version 7.3.17
Memory 128MB

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

  • Page:
  • 1
Powered by Kunena Forum