generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hello
I'm getting this error when trying to cast in my model
ERROR Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in vendor/laravel/framework/src/Illuminate/Foundation/AliasLoader.php on line 73.
i don't have any classes called Language or Country or Currency
Only thing is the model i'm using has the following fields
`class PeopleSpokenLanguage extends Model
{
use HasFactory;
protected $casts = [
'language' => Language::class,
'accent' => Country::class
];
}`
Metadata
Metadata
Assignees
Labels
No labels