i'm getting similar behavior when i'm changing the php versions. able to log in, but no data showing. keeping the php version on 7.4 no problems at atll.
@wrongecho @johnny
doing a bit of research, found out that possible issue with it is he mysqlfetch_array used instead mysqlfetch_assoc - this syntax should solve the issues with mysql versus mariadb server as well php versions. in theory at least, did not got chance to test it.
@afiadam
can you share your php errors logs? syntax error could be that fetch thing, but just in my case, the php logs, would show exactly the syntax causing the issue.