Cannot use Crud\Core\Objec

I was not using the api for long time and then we swtiched to php 7.2 It shows the error below. OS is Ubuntu 14.04.6 I am worse than a beginner and have no idea where to start from. I’d be thankful if somene tells me where to start from.

composer.json looks like this:

“require”: {
“php”: “>=5.5.9”,
“cakephp/cakephp”: “~3.2”,
“mobiledetect/mobiledetectlib”: "2. “,
“cakephp/migrations”: “~1.0”,
“cakephp/plugin-installer”: "
“,
“friendsofcake/crud”:”~4.0”

Fatal error: Cannot use Crud\Core\Object as Object because 'Object' is a special class name in /www/htdocs/w0555555e/api.website.com/vendor/friendsofcake/crud/src/Listener/BaseListener.php on line 4