Multiple Records Pagination not working

I have a Multiple Records form & pagination no longer works after update…
My issue is almost exactly like the link below… BUT the suggested workaround did not work for me…

In short:
I have a list of clients, you can click on a client and it opens a multiple records form… on the first client all works as expected BUT if you go back and select the next client when the multiple forms opens it does not execute the “count(*) AS countTest from” ETC… code to get pagination to work on the page…

Anybody have any suggestions… I think this maybe a bug…

Another observation…
It seems to work fine when testing the code on my local machine…
The issue only occurs on our production server…
I am using the same php versions…
Could it be some other environmental issue?

Another observation…
the log entry is also missing, it only shows on the first client… but after exiting and going to a second client it is not there…

“INSERT INTO access_log”

I have the exact same issue. Were you ever able to resolve this? I would appreciate some help from anyone who knows a workaround solution for this.