I upgraded a site to 8.1 and only one custom plugin has an error with
array_push($resultsArr, $tempArr);
$resCount++; (this line shows the error)
Is there another way to write this line to resolve the issue? I’ve tried Googling for this issue, not seeing anything to resolve this.