jfld Posted January 5, 2023 Share Posted January 5, 2023 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. The plugin (search with KOHA and Wordpress) appears to be working but this shows error in the log. Quote Link to comment https://forums.phpfreaks.com/topic/315760-upgraded-to-81-a-custom-plugin-rescount-error/ Share on other sites More sharing options...
requinix Posted January 5, 2023 Share Posted January 5, 2023 What error? Undefined variable? Quote Link to comment https://forums.phpfreaks.com/topic/315760-upgraded-to-81-a-custom-plugin-rescount-error/#findComment-1604221 Share on other sites More sharing options...
jfld Posted January 9, 2023 Author Share Posted January 9, 2023 I got this sorted out now changing $resCount 0; Quote Link to comment https://forums.phpfreaks.com/topic/315760-upgraded-to-81-a-custom-plugin-rescount-error/#findComment-1604465 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.