Hey guys,

I'm testing to see if I can upgrade to Drupal 7 but after I migrated fields using the documentation you have, it first showed me something about Integer fields not having a maximum/limit or something like that and that it was going to set to 256, everything was migrated, but when I was going to see/edit any of my content it keeps saying:

    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /path/to/drupal/includes/entity.inc).
    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of /path/to/drupal/includes/entity.inc).
    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /path/to/drupal/includes/entity.inc).
    Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 354 of /path/to/drupal/includes/entity.inc).

What can I do to fix this?

Thanks

Comments

greggles’s picture

Priority: Critical » Major
Status: Active » Postponed (maintainer needs more info)

It's not clear this is a bug in the cck module specifically.

I've seen this several times and always had to debug by printing things out in entity.inc to find the source of the problem.

Downgrading priority until their is a simplified, repeatable test case that shows this is a cck bug.

jfha73’s picture

OK, just tell me what you need me to do on my end to give you more info to see if we can get it up and running, and FYI I also put this as an issue with the Entity API module, because I wasn't sure either if it was a CCK issue.

jfha73’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Solved by changing the format of the fields in content types, then changing them back to their originals.