Page 1 of 1

HTML 500 error

Posted: Tue Mar 04, 2025 3:10 am
by Lala
Why can't I run this report? I have another "test" report using the same nuSQL which works fine, but when I run report FR2 I get this error

Re: HTML 500 error

Posted: Tue Mar 04, 2025 3:30 am
by kev1n
Hi,

I see this error:

Code: Select all

Uncaught TypeError: DateTime::setDate(): Argument #1 ($year) must be of type int, string given
Try the following:

Replace this line

Code: Select all

$o->setDate($d[0], $d[1], $d[2]);
in nucommon.php with

Code: Select all

$o->setDate(intval($d[0]), intval($d[1]), intval($d[2]));

Re: HTML 500 error

Posted: Tue Mar 04, 2025 9:45 pm
by Lala
Brilliant - thank you!