Hello Nicolas. I've solved the problem. Apparently, the problem was resolved server and migrating the entire website to another server within the same company.
Apparently, the hosting company has different settings on their servers. It has already happened before that some applications running on a server and not on another server.
Can it be that has to do version of PHP? The server was configured not work with the version of PHP 5.6, however, the server works well is now configured with PHP version 5.5.