Closed FirmanAhmadBayumi closed 9 months ago
Error in UserModel.php: Attempt to read property "id" on null
public function withGroup(string $groupName) { $group = $this->db->table('auth_groups')->where('name', $groupName)->get()->getFirstRow();
$this->assignGroup = $group->id; return $this; }
how to fixed this code ?
done
Error in UserModel.php: Attempt to read property "id" on null
public function withGroup(string $groupName) { $group = $this->db->table('auth_groups')->where('name', $groupName)->get()->getFirstRow();
how to fixed this code ?