ProcessMaker code contributions
By Ironguts25
#830443
class.templatePower.php on line 608 throws fatal error: " sizeof(): Argument #1 ($value) must be of type Countable|array, null given"

This due to PHP 8 error for count on null values.

Line 608: $lastitem = sizeof($parent);
should be changed to: !null ?? $lastitem = sizeof($parent);

or for backwards compatibility: if ($parent !== null) {$lastitem = sizeof($parent);}

Code change tested on Stack 285.

A Pancakeswap clone is a Decentralized Finance(DeF[…]

Action RPGs have noticed a resurgence lately with […]

The Metamorph league was introduced with the Conqu[…]

Path of Exile has released one of its expansions y[…]