Closed felix1 closed 1 year ago
When I try to modify a previously created record, I get this error:
update-fields?editing=true&editMode=update&viaResource=&viaResourceId=&viaRelationship=
{message: "Call to a member function map() on string", exception: "Error",…} Exception: "Error" File: "/path_project/vendor/oneduo/nova-file-manager/src/FileManager.php" Line: 180
Hi @felix1
Did you set the cast on your model? See https://oneduo.github.io/nova-file-manager/installation.html#casting-your-model-attributes
When I try to modify a previously created record, I get this error:
update-fields?editing=true&editMode=update&viaResource=&viaResourceId=&viaRelationship=
{message: "Call to a member function map() on string", exception: "Error",…} Exception: "Error" File: "/path_project/vendor/oneduo/nova-file-manager/src/FileManager.php" Line: 180