-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translations not working anymore #55
Comments
The error mentions a closure, which one is it ? Is it a closure in Spatie's package or one you defined ? If it's in Spatie's package, that means they published a release that breaks compatibility with this package. I'd suggest to open an issue on their repository explaining they shouldn't type-hint model classes in fonction arguments for scenarios like these where the package isn't used on models. |
I have also tried to use the mrmonat/nova-translatable wich gives met the same error. When i have time i will reproduce both errors from both packages en post them here. |
Both packages use |
now i there is happening something really weird. when using mrmonat/nova-translatable the field is stored in the database as expected.
|
i also tried Spatie\NovaTranslatable again and that is giving a different error: i understand this message and it doesn;t really bother me because i wanna use the other package noted above |
Argument 2 passed to Spatie\NovaTranslatable\Translatable::Spatie\NovaTranslatable{closure}() must be an instance of Illuminate\Database\Eloquent\Model, instance of App\Nova\Templates\Home given
Using Spatie\NovaTranslatable.
The text was updated successfully, but these errors were encountered: