Can anyone find the bug? This function worked for years, but then I did something very far away (i.e. I didn't change this function at all) which broke it.
Have you updated the server's PHP version, and the error occurs when using the
mysql_ function? Starting with PHP 7, the function should be
mysqli_, which can cause errors. Is that it?
I am no coder, I have no experience as a system administrator, but I guess this is exactly the kind of stuff that I think can break a lot of things.
Wondering if the change is so substantial, why it broken only this feature: I guess that kind of functions to be used broadly in the forum software.