After updating Pimcore to version 5 I am getting:
Cannot use Pimcore\Model\Object as Object because 'Object' is a special class name in ...
somebody had the same problem please help.
This is caused by the fact that Object is a reserved word in PHP 7.2