-
Notifications
You must be signed in to change notification settings - Fork 3
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
Argument #1 ($items) must be of type array, null given #57
Comments
Are you mapping the "Parent" field at all? |
I'm only mapping three fields
I'm using the slug as the unique field. I'm updating 38 entries. They're getting updated. But I'm confused about the error? |
Thanks!
The error is coming from some code which is responsible for updating entry "parents" after entries have been updated. Because you're not mapping the "parent" field, It shouldn't be reaching that point without any parents, which is strange. Anyways, I'll tag a release for it shortly. |
Great, thanks for letting me know. It's brilliant to see this add-on getting lots of updates. |
Bug description
I tried to import a .csv, but this error pops up in laravel.log? My import strategy is Update existing items, I'm trying to update a bunch of page titles and meta descriptions.
How to reproduce
I'm using importer 1.5.0, I've just uploaded a csv and pressed save and run.
I can see from the local.ERROR, it says
($items) must be of type array, null given
But what does ($items) refer to?
Logs
Environment
Additional details
No response
The text was updated successfully, but these errors were encountered: