Well, you came here asking for help with an error message you saw. And as far as I can tell, this error message is caused by a problem on the remote database server. If you say the database server is working fine, then I don’t know what’s causing the problem.
And specifically, it seems that this database server has too many prepared statements open. If the thing writing the bans doesn’t use prepared statements, then it might not be affected by this issue. But your website interacting with this database does.
I don’t see anything like that. The URL in your original post, http://lonksmc.epizy.com/bans/index.php?i=1 , just shows the same database connection error.