-
Notifications
You must be signed in to change notification settings - Fork 139
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
Feedme 5.6.0 update causing array_splice error with Assets #1481
Comments
I'm experiencing this too in version |
I found out that you need to have a value in the 'Use this filename for assets created from URL' field (FeedMe 6.2.0). A workaround for this issue, if you have no image names as a separate field, is by mapping the image URL in the 'Use this filename for assets created from URL' field; you will get odd names though. |
@lucasdaniels You can set:
and it will keep just the filenames |
Hi all, thanks for reporting! I raised a PR for this. |
Merged and will be included in the next v5 and v6 release! |
Feed Me 5.6.1 and 6.2.1 are out with this fix. |
@angrybrad @i-just - thank you for the fix! |
Description
After updating to feedme 5.6.0 from 5.5.0, imports which use Assets are failing with an error:
array_splice(): Argument #1 ($array) must be of type array, null given - Assets.php: 122.
Rolling back to 5.5.0 resolves the issue and we are able to import again.
Steps to reproduce
Run import
Check logs, nothing imported in due to error
Additional info
The text was updated successfully, but these errors were encountered: