0

This is my first time of deploying website to Heroku. I got following errors after running git push heroku master.

enter image description here

enter image description here

How can i solve this error

1 Answer 1

2

There can be major reasons that Laravel does not start up, but looking at your error this can be an issue at the boot() function in

app\Providers\AppServiceProvider.php

file, if you have any DB queries inside the boot method, try to comment them and push again to Heroku. Then create the DB scheme in Heroku and define env variable, after that uncomment the above code and push again.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.