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
Hi all, I came across this issue following the installation instructions in this package.
I found that one important dependency was missing in the "use statements" which is causing the issue:
While searching for a solution I found this YouTube Video which helped me to track down the root cause.
I am sharing the solution to all who have the same problem getting started with this really amazing package.
Error: Call to undefined method App\Nova\Actions\ImportResource}::shownOnIndex()
Impact:
Error message keeps popping up whenever viewing the resource list
Detail page of a resource is not opening with the following similar error message Call to undefined method App\Nova\Actions\ImportResource}::shownOnDetail()
Cause:
The use statement "use Laravel\Nova\Actions\Action;" is missing in the example import action "\Nova\Actions\Import{Resource}.php"
Solution:
Add "use Laravel\Nova\Actions\Action;" to the use statements:
Remark:
Please add the use of "use Laravel\Nova\Actions\Action;" to your documentation.
I have added this and made a commit request to get this added. Thanks for the package!
The text was updated successfully, but these errors were encountered:
Hi all, I came across this issue following the installation instructions in this package.
I found that one important dependency was missing in the "use statements" which is causing the issue:
While searching for a solution I found this YouTube Video which helped me to track down the root cause.
I am sharing the solution to all who have the same problem getting started with this really amazing package.
Error:
Call to undefined method App\Nova\Actions\ImportResource}::shownOnIndex()
Impact:
Call to undefined method App\Nova\Actions\ImportResource}::shownOnDetail()
Cause:
The use statement "use Laravel\Nova\Actions\Action;" is missing in the example import action "\Nova\Actions\Import{Resource}.php"
Solution:
Add "use Laravel\Nova\Actions\Action;" to the use statements:
Remark:
Please add the use of "use Laravel\Nova\Actions\Action;" to your documentation.
I have added this and made a commit request to get this added. Thanks for the package!
The text was updated successfully, but these errors were encountered: