PHP error editing application

Hi @sandra,

I got the Oh no! Something has gone wrong error when editing an application under Home > Admissions > Manage Applications:

[proxy_fcgi:error [pid 1666738:tid 1666799 [client xxx.xxx.xxx.xxx:0 AH01071: Got error ‘PHP message: Uncaught Exception: Exception - Failed to parse time string (08/2025) at position 5 (2): Unexpected character in /h…/src/Services/Format.php on line 1150’, referer: https://my…gibbon…website.com/index.php?q=%2Fmodules%2FAdmissions%2Fapplications_manage.php&gibbonSchoolYearID=027&search=70&gibbonYearGroupID=

Gibbon Version
v27.0.01

PHP Version
8.1.30

MySQL Version
10.6.19

Thanks

Hi @tiekubd Thanks for the heads up. Is this happening with all applications or just one? 08/2025 isn’t a valid date, so somehow this data is incomplete in your application, and this is causing the date parser to unfortunately cause a fatal error. How this date got in there in the first place would be interesting to know. Are you able to look at the database entry for this records and see which field the 08/2025 date has ended up in? Fixing this date via the database may be the best approach, if it’s a one-off, and then I can look into how it may have happened.

Hi @sandra,

This is what I see in the data field of gibbonAdmissionsApplication

“dateStart”:“08/2025”

Hi Tieku, were these applications imported or created by users? The date isn’t valid, and it’s strange to see that it would be saved in the data this way. Can you try changing it to 2025-08-01 and seeing if the error goes away? I haven’t seen this happen with any other applications, so it seems to be a data input error.

Hi @sandra,

I manually updated the value in the database to 2025-08-01 and the error disappeared.

The school does not import Student Applications. I checked and there is no last import date:

Since dateStart is a date-type field with a date picker, how do you think this value got into the database?

Thanks,

Tieku