No this is an installation on my computer...
The only thing that is different with the installations on the servers is that on my localhost we have a PHP version 8 (on the servers 7.4). Could this be the issue?
This function is removed from php 8, and this is the reason why we comment it
Let me know the next error, if you have it
P.S:if you have any other error, please go to System->Global configurtion->System->Debug System->set to Yes.
and in System->Global configurtion->Server->Error reporting->set to Maximum, and post here where error happens