I’ve got this small snippet that displays (in this case) pagination when at a certain level below a parent. I’ve just updated the site to MODX 2.8.8 and PHP 8.3 and it’s throwing an error…
You are using the concatenating assignment operator → .=
This line is the same as $output = $output . $levelcount;. So you concatenate $levelcount to a variable $output that is never initialized and unknown to the compiler.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.