Undefined index: App\Models\User
This cryptic message often appears when one of your application's models can not be initialized.
If the model referenced in the error message does not exist, correcting the model reference to resolve the issue. If it does, check the referenced model for any initialization methods and ensure the method includes a call to its parent. For example, the boot
method should call parent::boot()
.
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.