You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
TypeError: Argument 1 passed to App\SomeModel::decodeUuid() must be of the type string, null given, called in […]/vendor/spatie/laravel-binary-uuid/src/HasBinaryUuid.php on line 81
This happens because toArray() tries to get an "uuid text" attribute which is null at this point:
Problem occurs when you try to convert newly created model instance to an array:
This happens because
toArray()
tries to get an "uuid text" attribute which isnull
at this point:The text was updated successfully, but these errors were encountered: