Call to a member function CalendarURL() on null
Brought to you by:
canajun2eh,
yalnifj
I've updated to the latest version of PhpGedView (rev 7350).
My server has PHP 7.4.9 on a Linux box.
There are a few crashes I'm seeing - I'll file each individually.
Fatal error: Uncaught Error: Call to a member function CalendarURL() on null in /volume1/web/gen/includes/classes/class_date.php:1192 Stack trace: #0 /volume1/web/gen/includes/functions/functions_print_lists.php(238): GedcomDate->Display(true) #1 /volume1/web/gen/indilist.php(280): print_indi_table(Array, '<img src="image...')
thrown in /volume1/web/gen/includes/classes/class_date.php on line 1192
add the following after line 1191 in /includes/classes/class_date.php :
if (!is_null($this->date1))
Please let me know whether this works for you.
That appears to be the perfect fix. Thanks!
(I don't see how I can mark this issue as resolved)
It's not fixed until the correction has made it into the SVN repository. I'll look after that.
Fixed in SVN 7351