Attempted to load class “WebProfilerBundle” from namespace “Symfony\Bundle\WebProfilerBundle” when deploying on Heroku using development dependencies
问题 We have a Symfony 4.3 web application hosted on Heroku. This is a new setup and we never managed to have the dev mode to work correctly . There are plenty of similar issues online but none fixes the exact symptoms we are facing here. The project was created with a command line: composer create-project symfony/website-skeleton appName Let me clarify that: we do not want to change from "dev" to "prod" We need to be able to use the application in dev mode in order to take advantage of error