laravel voyager mb_strlen()期望参数1为字符串,给定数组

i'm trying to save array in database in laravel voyager admin panel so i added

   protected $casts = [
   'array_value' => 'array',
   ];

to my model but now I get this error:

mb_strlen() expects parameter 1 to be string, array given (View: C:\xampp\htdocs\Dev-College\vendor\tcg\voyageresources\views\bread\browse.blade.php)

This is likely happening to you because in DataRowsTableSeeder the field for settings is named locale which is not the name in the DB.

I think this is a known issue (Voyager #3102). You can find more information and some tweaks to resolve your issue at the gitHub issues page