You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to Laravel 5.2.36 I get the following error.
Class App\User contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods
(Esensi\Model\Contracts\SoftDeletingModelInterface::withTrashed,
Esensi\Model\Contracts\SoftDeletingModelInterface::onlyTrashed)
I think both withTrashed() and onlyTrashed() were move into macros and are not standalone methods anymore.
If I comment out the interface methods for both withTrashed() and onlyTrashed() everything still seems to work.
The text was updated successfully, but these errors were encountered:
EngNet
changed the title
SoftDelete withTrashed onlyTrashed throw error for Laravel >= 5.2.36
SoftDelete withTrashed and onlyTrashed throw error for Laravel >= 5.2.36
Jun 7, 2016
We only officially support Laravel LTS (5.1) with our packages but it is good to know that this incompatibility with future Laravel 5.2+ installs exists. We went ahead and opened a separate PR and will update there with an all around better fix for both 5.1 and 5.2+. Thanks.
Since upgrading to Laravel 5.2.36 I get the following error.
The change log points to this.
laravel/framework#13396
I think both
withTrashed()
andonlyTrashed()
were move into macros and are not standalone methods anymore.If I comment out the interface methods for both
withTrashed()
andonlyTrashed()
everything still seems to work.The text was updated successfully, but these errors were encountered: