nova-tab-translatable
nova-tab-translatable copied to clipboard
File destroy not working
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.