ekmungai / eloquent-ifrs

Eloquent Double Entry Accounting with a focus on IFRS Compliant Reporting
MIT License
335 stars 68 forks source link

BadMethodCallException #44

Closed ArnoldNicole closed 2 years ago

ArnoldNicole commented 3 years ago

implementing the following traits

use IFRS\Traits\IFRSUser;

use IFRS\Traits\Recycling;

use IFRS\Interfaces\Recyclable;

class User  extends Authenticatable implements Recyclable {
  ...
  use IFRSUser;
  use Recycling;
  ...
}

Call to undefined method App\Models\User::restoring()

in laravel version 8, also tried php artisan migrate:fresh

ekmungai commented 3 years ago

Hi Arnold,

Thanks for reaching out, try upgrading to version 4.0.0 and try again

Cheers, Edward

shahonseven commented 3 years ago

I solved this by enabling soft deletes in my user model.

Wraptechologies commented 3 years ago

I solved this by enabling soft deletes in my user model.

Thanks Shahonseven