Lemnocity / clean-crm

Minimum Laravel project with Venture Drake package installed. This will help use identify bugs that are not related to our main project.
0 stars 0 forks source link

Call to undefined method during crm install #2

Open DCox2016 opened 11 months ago

DCox2016 commented 11 months ago

Laravel Version: 10.10

PHP Version: 8.1.14

Steps to reproduce

Expected results

CRM installed

Actual results

BadMethodCallException Call to undefined method App\Models\User::assignRole()

This happens after entering the password for the crm owner

DCox2016 commented 11 months ago

I would image the fix to this would be to add the spadie stuff to my user model. I am going to do that and if it works than VentureDrake should probably write something to add this stuff automatically

DCox2016 commented 11 months ago

The read me for the project is walking me throw adding this stuff. I wonder if why the laravel-crm install command is present.