Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import data from .csv file - Error. #29

Open
philipbaginski opened this issue May 21, 2021 · 11 comments
Open

Import data from .csv file - Error. #29

philipbaginski opened this issue May 21, 2021 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@philipbaginski
Copy link

philipbaginski commented May 21, 2021

Hi!

I'm getting this error: SimonHamp\LaravelNovaCsvImport\Http\Controllers\ImportController::SimonHamp\LaravelNovaCsvImport\Http\Controllers{closure}() must be an instance of Laravel\Nova\Fields\Field, array given

Laravel 8
Laravel Nova v3.24.0

Any idea how to fix it?

@Nermosis
Copy link

Nermosis commented Jun 7, 2021

I have the same issue

@philipbaginski
Copy link
Author

I tested this package with fresh Nova installation and works proper. How to find what else is interrupting this package?

@Nermosis
Copy link

Nermosis commented Jun 7, 2021

Should have installed the excel importer? or i can just run this without that? Cause im just doing the example thing but i cannot get the $request->user thing working

@philipbaginski
Copy link
Author

I have only this package.

@Nermosis
Copy link

Nermosis commented Jun 7, 2021

Are you using the samething write in the example inside your nova resource? like mine:
class Taxonomia extends Resource { /** * The model the resource corresponds to. * * @var string */ public static $model = '\App\Models\Taxonomia'; public static $canImportResource = true;

@philipbaginski
Copy link
Author

No idea, I have to check.

@muhammadsaeedparacha
Copy link

This issue is because it doesn't process Panel in fields list of a resource

@simonhamp
Copy link
Owner

Sorry for just picking up on this thread. For those experiencing an issue, can anyone share their NovaResource configuration?

@simonhamp simonhamp added the bug Something isn't working label Apr 19, 2022
@simonhamp
Copy link
Owner

@philipbaginski I know this is an old issue, but has this improved at all?

@philipbaginski
Copy link
Author

I will check today with Nova 3 version.

@chrillep
Copy link
Contributor

having issue with panels aswell. code like -> https://nova.laravel.com/docs/4.0/resources/fields.html#field-panels

@simonhamp simonhamp self-assigned this Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants