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
It came across again with a different error note. To void this error, I have moved the Livewire request from mont() function to render() which solved it. Now tit works with having enforced strict to avoid Lazy Loading (n+1). Thank you for this amazing package to simplify developer's life and globalize locations.
I added shouldBeStrict(); in order to prevent lazy Loading across my models in AppServiceProvider class.
Resulting in the following error message:
The attribute [localeKey] either does not exist or was not retrieved for model [Lwwcas\LaravelCountries\Models\Country].
it seems to be in the astronomic / laravel sub package.
Without, it works seamless in getting the countries from db $countries = Country::_all('locale', 'de');
The text was updated successfully, but these errors were encountered: