-check your logs file -check if there is any weird place that you have made a database query like in my case I called User::all() in my routes file which resulted in the error uncomment that part and check if everything works