It is due to the newer php version in your new server.
If, by "last version", you mean Elxis 4.x then it has no such problems. You may try Elxis Converter to upgrade from Elxis 200x.x to Elxis 4.1