Cannot use object of type Think\Model as array
The model class returns an object and cannot be called using array key names. Example: $user->name instead of $user['name']
The model class returns an object and cannot be called using array key names. Example: $user->name instead of $user['name']