Due to the previous method used, it ends up throwing the follow error:
strtolower() expects parameter 1 to be string, array given (View: .../vendor/jakubsacha/adminlte/src/views/layouts/dashboard/header.blade.php) (View: .../vendor/jakubsacha/adminlte/src/views/layouts/dashboard/header.blade.php) (View: .../vendor/jakubsacha/adminlte/src/views/layouts/dashboard/header.blade.php)
Due to the previous method used, it ends up throwing the follow error:
With this PR, That fixes this bug.