Livewire encountered corrupt data when trying to hydrate the [app.filament.resources.conference-reso
Im having this error, but in only appears on a few items, i already tried everything i can remember but i cant figure it why it works in most of the cases and others doesnt work.
any one has any ideia?
4 Replies
i found now that one value gets loaded with last digit changed to 0, on DB i have 20240659413898322 it load as 20240659413898320, but is changed in db to 20240659413898324 it works fine, if i change to 20240659413898323 it shows as 20240659413898324
its very strange
the value is saved as BIGINT unsigned
Solution
Try casting it to a string. PHP doesn't handle large numbers like that
20240659413898322 is being approximated as 20240659413898320 due to floating-point precision loss
yes that was the solution, i was also searching on livewire forum and git i found there the issue also and the only solution was that
Thanks