Attempted to load class WebProfilerBundle from namespace Symfony\Bundle\WebProfilerBundle when deploying on Heroku using development dependencies code example
Example: Attempted to load class “WebProfilerBundle” from namespace “Symfony\Bundle\WebProfilerBundle” when deploying on Heroku using development dependencies
Go into composer.json
Change this:
"post-install-cmd": [
"@auto-scripts"
],
To this:
"post-install-cmd": [
],
Then you don't run the post install scripts.