Call to undefined method App\Controller\ErrorController::getResponse()
I am using Cake PHP 3.4.2 and install this plugin using this command composer require sprintcube/cakephp-rest
Then I followed this simple tutorial https://www.codementor.io/@narendravaghela/building-rest-apis-using-cakephp-3-x-k9br8qo2a
But got the error code Call to undefined method App\Controller\ErrorController::getResponse()
I do not understand why getResponse() undefined method in /vendor/sprintcube/cakephp-rest/src/Error/RestExceptionRendered.php file
Please give me some insights
I am getting the same error but ONLY when I add 'requireAuthorization' => true to the routes controller. Anything without this works fine. I also note the 'isRest' => true is not required at all, the route works as an API with or without this.
However, given this project hasn't been touched since 2019 I'm going to say we aren't going to get any support.