Notice: Undefined offset: 0 user role
Здравствуйте!
$user_role = $user->roles[0];
Получаю Notice: Undefined offset: 0
PHP 7.2.15
0 Ответ(ы)
Здравствуйте!
$user_role = $user->roles[0];
Получаю Notice: Undefined offset: 0
PHP 7.2.15