Closed docelmo closed 6 years ago
Upgrade to latest 5.x
release.
I encountered the same issue. The library works when running my own app locally, but when deployed to Heroku, it gives the same error that says "Fatal error: Cannot use Crud\Core\Object as Object because 'Object' is a special class name in /app/vendor/friendsofcake/crud/src/Listener/BaseListener.php on line 4"
Here is the URL that I tested. I already used the latest 5.x release.
I was using http://www.bravo-kernel.com/2015/04/how-to-build-a-cakephp-3-rest-api-in-minutes/ as a tutorial to build a .net application to communicate with my CakePHP 3 web app. I noticed there was another issue listed and closed. I couldnt find anything in there to help me. I am getting this error..
Fatal error: Cannot use Crud\Core\Object as Object because 'Object' is a special class name in C:\Users\XXX\Desktop\Git Repository\OT-github\vendor\friendsofcake\crud\src\Listener\BaseListener.php on line 4
I havent dove into the code to try and fix it but I figured I may have done something wrong.. So here we are..