Call to undefined method getTranslatedLocales() #238
-
|
Hi guys, I am experiencing some unexpected behavior. After installing according to the description and trying to create a new model, I get the following error message.
I am not using e.g. spatie translatable or any other multi-lang feature. I tried to add just this missing method as an emtpy method without return, but then I get a SQL error saying slug has no default value. Can anyone help? Environment Model: Migration: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I also just had this problem and if you're like me and you have use Spatie\Tags\HasSlug;over use Spatie\Sluggable\HasSlug; |
Beta Was this translation helpful? Give feedback.
I also just had this problem and if you're like me and you have
spatie/laravel-tagsinstalled then it's because PhpStorm suggestedover