PHP error "Call to a member function url() on null" if "Source facts to show for sources within source citations" is used
macRaizel opened this issue · 8 comments
original posted problem: Installed and did basic configuration (to see if error disappeared, turned off some). Saw error which mentions Vesta module that I have installed.
<followup....>
Will have to turn the module on and seeing if I can replicate error. I assume you're referring to supplying the GEDCOM code for the record which was random. I happened to be on that person's record but don't remember who. So will note that when I experiment again.
Can be reproduced, if a source contains a wrong XREF to a repository, e.g. if X1234 does not exist in the following example:
0 @I9117@ INDI
1 BAPM
2 DATE 31 JAN 1881
2 SOUR @S10698@
0 @S10698@ SOUR
1 REPO @X1234@
I fixed all errors and turned on RepositoryHierarchy. It does work. What I noticed is without anything checked in Settings for Repository Hierarchy list is the Publication shows (desired) but so too Author, Repository, Notes(undesired). Didn't see option to show just the Publication.
Is there newer version than repository_hierarchy_v1.3.7?
Yes, v1.3.8
See release area in GitHub
Installed. Working. Thank you.