I'm getting this:
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).
When I view a node that has this field in it.
How can I fix this?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | node_with_link.png | 110.3 KB | jfha73 |
| #5 | node_without_link.png | 101.87 KB | jfha73 |
| #4 | Link1.png | 8.38 KB | jfha73 |
Comments
Comment #1
jfha73 commentedFYI,
I forgot to say that this happened after upgrading from D6 to D7, so it might have been something in the migration process.
Comment #2
jfha73 commentedMore info,
My nodes with Link field are not showing the link in them when I view them, but if I hit Edit, I can see them just fine.
Comment #3
jcfiala commentedI'm not sure. I need more info about what's going on.
For one, is this a site that was built with Drupal 6 and upgraded to Drupal 7?
Try digging in a little and seeing what's going on. Does it change any if you change the display of the link field? If you disable the link field from displaying, do you still get the error? As I doubt you're here in Denver, I can't just come over to your office and debug, so the more detail you can give the better.
Has this _just_ started happening, or has it happened as long as you had the link module enabled?
Comment #4
jfha73 commentedThis just started after I upgraded to Drupal 7, it never happened when it was on Drupal 6, also, I don't see where to change the display of the link editing the node or editing the field in content types.
Comment #5
jfha73 commentedHere is another example, same node, one with link in it another without.
The content type does have a Link field on it, the one without means the link field is empty.
Comment #6
jfha73 commentedSorry about this, I just noticed that it shows also in some nodes without link field in them.