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.

💥 Join the Exclusive Trading Community and Experie[…]

Briefly introduce the topic and provide context. S[…]

If you want to know the best technique to export P[…]

Nursing dissertation help topics

Home of Dissertations is the most used platform th[…]