Hi,
When running one of my server actions and also on the front app page, I get the following error in inspector and obviously breaking the page.
"......../dmxConnectLib/lib/formatters/date.php",
"line": 44,
"message": "abs(): Passing null to parameter #1 ($num) of type int|float is deprecated",
It works fine in PHP 7.4.33, but it doesnt after v8 onwards.
Is this a known issue? Or is there a fix. I have the updated version of Wappler.
PHP 8 became a lot more strict, in PHP 7 null values where automatically casted as 0 when a number was expected, in PHP 8 you get a warning that it has an invalid type.
Your database probably returned a null value in some specific record causing this error.