Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Drupal 7.9 and updating to OG 7.x-1.3
When I open a new group enabled content (create content), the top of the screen gives me 5 instances of:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of .../includes/entity.inc).
D7.9 on version og 7.x-1.1 does not do this. I went from 1.1->1.3 doing this.
Comments
Comment #1
amitaibuWhat are the steps you do to reproduce this?
Comment #2
amitaibuI've committed a fix, please test (get it from Git or wait a few hours for the package).
Comment #3
silvio CreditAttribution: silvio commented@Amitaibu: looks like your commit fixes the issue, thanks.
Comment #4
othermachines CreditAttribution: othermachines commentedSeconding #3.
Comment #5
amitaibuGreat, thanks.
Comment #6
nagiek CreditAttribution: nagiek commentedChiming in to say this also works.
Comment #7
David4514 CreditAttribution: David4514 commentedI had a similar problem when adding new content immediately after enabling Organic Groups Field Access 7.x-1.3. However, I was only receiving 3 of the message rather than five.
I updated to the 11/10/2011 dev version and the problem was resolved.
Comment #8
jferrervalls CreditAttribution: jferrervalls commentedI got the same issue but couln't find the fix mentionned in #2.
I've been looking for quite a while now without success.
Could somebody tell me where to find it.
Thanks
Comment #10
star-szrClosed #1350430: Warning: array_flip() as a duplicate of this issue.