gobrightspot / nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.
MIT License
168 stars 50 forks source link

Complete Nova 4 Update #74

Closed ali-raza-saleem closed 2 years ago

orlyapps commented 2 years ago

🤟

matthewhutchings commented 2 years ago

{ "message": "Declaration of Brightspot\Nova\Tools\DetachedActions\DetachedAction::jsonSerialize() must be compatible with Laravel\Nova\Actions\Action::jsonSerialize(): array", "exception": "Symfony\Component\ErrorHandler\Error\FatalError", "file": "/Users/matthewhutchings/Sites/dashboard-qcf/vendor/gobrightspot/nova-detached-actions/src/DetachedAction.php", "line": 334, "trace": [] }

You need to update line 334 in DetachedActiom.php to add :array

eullercdr commented 1 year ago

{ "message": "Declaration of Brightspot\Nova\Tools\DetachedActions\DetachedAction::jsonSerialize() must be compatible with Laravel\Nova\Actions\Action::jsonSerialize(): array", "exception": "Symfony\Component\ErrorHandler\Error\FatalError", "file": "/Users/matthewhutchings/Sites/dashboard-qcf/vendor/gobrightspot/nova-detached-actions/src/DetachedAction.php", "line": 334, "trace": [] }

You need to update line 334 in DetachedActiom.php to add :array

I am the same error. Please @gobrightspot fixed this, is very important for us. Thanks in advanced.

eullercdr commented 1 year ago

Please @gobrightspot create a new release, for this PR.