1550559460
I’m using Laravel Voyager for my web app.
When I added a new contributor user and tried to enter his dashboard. I got the “Illegal string offset ‘locale’” error.
Error path: /home/turongro/public_html/vendor/tcg/voyager/src/Models/User.php
Error line:
public function getLocaleAttribute()
{
return $this->settings['locale'];
}
Before getting this error, I changed 'locale' => 'ru'
in config/app.php
#php #laravel
1550559788
Have you tried?
php artisan config:cache
php artisan cache:clear
1625465520
In this example i will show you localization - laravel localization example.
Laravel’s localization features provide a convenient way to retrieve text in different languages, allowing you to easily support multiple languages within your application. So here i will show you how to create localization or laravel dynamic language.
#localization - laravel localization example #localization tutorial #localization #laravel multi languag #laravel documentation #laravel localization
1626848460
Hello Guys,
Today I will share laravel 8 socialite login with google account. In this post give you example of laravel 8 socialite login with google account and also you can knowledge about how to socialite login with google account in laravel 8 jetstream.
This tutorial will give you very easy and simple example of login with gmail in laravel 8.
#laravel 8 socialite login with google account #laravel #laravel 8 login with google #login with gmail account #laravel socialite #login with gmail in laravel 8
1612929234
In this tutorial I will give you solution of page expired 419 error in laravel.
Many times we faced “The page has expired due to inactivity. Please refresh and try again”. error in Laravel. This problem is caused by the csrf_token. So, below i have added 2 solutions of this error check and apply as per your requirments.
Thanks for reading !!
#laravel page expired error #419 error in laravel #how to solved 419 error in laravel #laravel #error
1550559460
I’m using Laravel Voyager for my web app.
When I added a new contributor user and tried to enter his dashboard. I got the “Illegal string offset ‘locale’” error.
Error path: /home/turongro/public_html/vendor/tcg/voyager/src/Models/User.php
Error line:
public function getLocaleAttribute()
{
return $this->settings['locale'];
}
Before getting this error, I changed 'locale' => 'ru'
in config/app.php
#php #laravel
1599536794
In this post, i will show you what’s new in laravel 8 version.
https://www.tutsmake.com/laravel-8-new-features-release-notes/
#laravel 8 features #laravel 8 release date #laravel 8 tutorial #news - laravel 8 new features #what's new in laravel 8 #laravel 8 release notes