Closed mrertmatik closed 1 year ago
@mrertmatik please correct your issue.
1) You're not an active sponsor.
2) You need to fix your title. Just [Bug]
is not valid. It should be [Bug] Undefined array key 0
since that is your error.
Finally the error is pretty clear. https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/7b65b30b74bc952d6a740aeb0659a301cd643def/app/Http/Controllers/Auth/LoginController.php#L84
Either you need to run php artisan cache:clear
or its because you deleted or renamed a system required group and you need to put it back.
$bannedGroup = cache()->rememberForever('banned_group', fn () => Group::where('slug', '=', 'banned')->pluck('id'));
$validatingGroup = cache()->rememberForever('validating_group', fn () => Group::where('slug', '=', 'validating')->pluck('id'));
$disabledGroup = cache()->rememberForever('disabled_group', fn () => Group::where('slug', '=', 'disabled')->pluck('id'));
$memberGroup = cache()->rememberForever('member_group', fn () => Group::where('slug', '=', 'user')->pluck('id'));
ok sorry, but now, how do i solve the problem now
finaly a fixed the problem
UNIT3D Version
6.5.0
PHP & Platform
ubuntu 20
Laravel verion
9.41.0
Have you done this?
Expectation
after reconnect on site on morning new error, dashboard not work HTTP 500 Internal Server Error .
i do no why, no change on website by me before thats
Description
juste error 500 on try open dashboard admin
Stack trace & logs
Are you a UNIT3D sponsor?
no