Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    shaker331
    @shaker331

    at C:\xampp\htdocs\laravel-student-course\database\seeds\LaratrustSeeder.php:22
    18| $config = config('laratrust_seeder.role_structure');
    19| $userPermission = config('laratrust_seeder.permission_structure');
    20| $mapPermission = collect(config('laratrust_seeder.permissions_map'));
    21|

    22| foreach ($config as $key => $modules) {
    23|
    24| // Create a new role
    25| $role = \App\Role::create([
    26| 'name' => $key,

    Invalid argument supplied for foreach()
    whats the solve