© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Fahad Bhuiyan

Return value must be of type array, string returned error

I keep ketting this error in cpanel and hostinger.
Filament\Tables\Filters\SelectFilter::getOptions(): Return value must be of type array, string returned
I'm getting these data from Enums. In localhost it works just fine.
I've changed php version but it's not working.
How do I solve this?
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

getUserName(): Return value must be of type string, null returned
FilamentFFilament / ❓┊help
17mo ago
Filament\FilamentManager::getUserName(): Return value must be of type string, null returned
FilamentFFilament / ❓┊help
6mo ago
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