Bug 38974

Summary: Error when submitting patron update from the OPAC Can't call method "dateofbirthrequired" on an undefined value
Product: Koha Reporter: Owen Leonard <oleonard>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Owen Leonard 2025-01-27 12:52:20 UTC
I'm seeing an error in main when submitting a patron update from the OPAC. It seems to happen only when the submission includes a date of birth value.

It happens when adding a new date of birth value (previously empty), when submitting a change to the date of birth value, or when submitting the form without changing the date of birth field. It doesn't seem to be connected to the dateofbirth system preference choice.

Can't call method "dateofbirthrequired" on an undefined value at /kohadevbox/koha/opac/opac-memberentry.pl line 539