I'm trying to upload an api created with Apigility to the heroku. The application compiles correctly, however when I make any request, I get a 500 error as a return. In the heroku log, I see the following error:
PHP Fatal error: Uncaught Error: Class 'Zend \ Console \ Console' not found in /app/vendor/zfcampus/zf-content-negotiation/src/Factory/RequestFactory.php:22
I did not find many tutorials out there, and those I encountered did not provide many step-by-step details to upload the application.
Has anyone ever had the same problem? What is the solution to this error?