nova-tab-translatable icon indicating copy to clipboard operation
nova-tab-translatable copied to clipboard

File destroy not working

Open fsavina-akqa opened this issue 9 months ago • 0 comments

Hello, when I try to delete a file attached to a resource that DOES NOT use translatable tabs nor has translatable attributes, I get the following error:

{
    "message": "in_array(): Argument #2 ($haystack) must be of type array, null given",
    "exception": "TypeError",
    "file": "/var/www/html/vendor/kongulov/nova-tab-translatable/src/Http/Controllers/FieldDestroyController.php",
    "line": 26
}

why is your FieldDestroyController overriding Nova's FieldDestroyController even on resources without translatable tabs/attributes?

Thanks, F.

fsavina-akqa avatar Jun 03 '24 13:06 fsavina-akqa