© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•6mo ago•
3 replies
Schilly

Filament\FilamentManager::getUserName(): Return value must be of type string, null returned

After upgrading to v4.0.4 I got this error... No other changes were made.

I am running in "Guest Mode" with no auth middleware or login routes, etc...

Reverting back to 4.0.3 fixes the problem.

Error stack attached.

Thoughts?
message.txt16.95KB
Solution
Fixed in 4.0.5. Thanks crew!
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament\FilamentManager::getUserName(): Return value must be of type string, null returned
FilamentFFilament / ❓┊help
2y ago
Filament\FilamentManager::getUserName(): Return value must be of type string, null returned
FilamentFFilament / ❓┊help
3y ago
getUserName(): Return value must be of type string, null returned
FilamentFFilament / ❓┊help
17mo ago
getTableRecordKey(): Return value must be of type string, null
FilamentFFilament / ❓┊help
3y ago