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

foreach() argument must be of type array|object, null given #1423

Closed
plcdnl opened this issue Apr 1, 2024 · 5 comments
Closed

foreach() argument must be of type array|object, null given #1423

plcdnl opened this issue Apr 1, 2024 · 5 comments
Labels

Comments

@plcdnl
Copy link

plcdnl commented Apr 1, 2024

image image (4) image (3) image (2) image (1)
@plcdnl plcdnl added the bug label Apr 1, 2024
@plcdnl plcdnl mentioned this issue Apr 1, 2024
@ax2000
Copy link

ax2000 commented Apr 11, 2024

Hi there,

I'm also having this issue when trying to import into a matrix field, getting error foreach() argument must be of type array|object, null given - Matrix.php: 312

I'm on:

  • Craft Pro 5.0.4
  • Feed Me 6.0.0

@chadcrowell
Copy link

Same exact as @ax2000 above

foreach() argument must be of type array|object, null given - Matrix.php: 312

@curtishenson
Copy link

Incase this helps anyone I got this error when my dataset had two entry types where one entry type was missing fields I was trying to import.

olivierbon added a commit that referenced this issue Apr 16, 2024
Would should conditionally check for attributes on blocks since those can be hidden.
@JMKelley
Copy link

Getting the same. Is there an estimated release date for this fix @olivierbon?

@i-just
Copy link
Contributor

i-just commented May 2, 2024

Feed Me 6.0.1 is out now with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants