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.

Dappsfirm specializes in Poker Game Development, o[…]

Dappsfirm specializes in Keno Game Development, of[…]

Dappsfirm offers a swift solution for crafting you[…]

Place Your Order Now - Get 30% Discount : 👉 http[…]