When viewing the details of a migration mapping, then loading a new page, I see this warning:

Warning: Invalid argument supplied for foreach() in element_children() (line 6374 of (drupal-root)/includes/common.inc).

The cause is that one piece of the array that gets passed to theme_table() has one extra layer. Next comment will have a patch that resolves it.

Comments

nadavoid’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB

This should resolve it.

mallezie’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm this patch resolves the warnings.

mikeryan’s picture

Status: Reviewed & tested by the community » Fixed

Done (as well as for users), thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pablojais’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new1.71 KB

Sorry to reopen this bug report, but the fix should also be applied to user.inc, or the warnings will be raised when looking at a user migration.
I'm attaching a patch that includes this file.

pablojais’s picture

Status: Needs review » Closed (fixed)

Damn it. I didn't notice that it was fixed in dev.
I'll see myself out. Sorry for the noise.