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
Trait method GeneaLabs\LaravelModelCaching\Traits\Cachable::__get has not been applied as Modules\Dossiers\Models\Dossier::__get, because of collision with Spatie\SchemalessAttributes\SchemalessAttributesTrait::__get
at Modules/Dossiers/Models/Dossier.php:40
36▕ use Venturecraft\Revisionable\RevisionableTrait;
37▕ use Wildside\Userstamps\Userstamps;
38▕ use GeneaLabs\LaravelModelCaching\Traits\Cachable;
39▕
➜ 40▕ class Dossier extends Model implements HasMedia, PresentableInterface
41▕ {
42▕ use Archivable;
43▕ use BaseModelContract;
44▕ use Filterable;
+1 vendor frames
2 [internal]:0
Environment
PHP: 8.3
OS: Debian
Laravel: 10 latest up to date
Model Caching: 11.0.0 just installed
Additional context
Not sure if this is solvable. Please add to Possible Package Conflicts documentation section.
The text was updated successfully, but these errors were encountered:
Describe the bug
ErrorException when using with Spatie Schemaless
This is due to trait ModelCaching also defines __get function as SchemalessAttributes on line 51
https://github.com/spatie/laravel-schemaless-attributes/blob/main/src/SchemalessAttributes.php#L51
Stack Trace
Environment
Additional context
Not sure if this is solvable. Please add to Possible Package Conflicts documentation section.
The text was updated successfully, but these errors were encountered: