© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•13mo ago•
8 replies
dyo

Error in searchable TextColumn

I have attributes of name and phone using TextColumn searchable method.
the user sometimes accidentally paste the text in search input with emoticon in it, and these error appeared..

Error: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb3_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation 'like' (Connection: mysql, SQL: select * from
prospek
prospek
where
phone
phone
LIKE %asyaaAllahAlhamdul% or
name
name
LIKE %Maa syaa Allah Alhamdulillah.. 🤲🤲% limit 10)

how can I return the search result to null, or remove the emoticon if it exist in the string again?
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

TextColumn searchable function anomaly.
FilamentFFilament / ❓┊help
15mo ago
BelongsToMany TextColumn first_name last_name searchable
FilamentFFilament / ❓┊help
3y ago
How to set TextColumn isHidden / Disabled but searchable?
FilamentFFilament / ❓┊help
3y ago
Select -> Searchable - Styling Error
FilamentFFilament / ❓┊help
2y ago