We get the following error (warning) messages since we installed statuses (only viewing, if we add an entry we got the status message twice).
We use panels and add the statuses block.
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (Zeile 178 von /Users/geraldpitschek/Sites/iuk20rc05/includes/entity.inc).
x
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (Zeile 354 von /Users/geraldpitschek/Sites/iuk20rc05/includes/entity.inc).
If we remove the statuses block everything is ok.
Wr
Comments
Comment #1
paulap CreditAttribution: paulap commentedIt seems that this is a error regarding internationalization (languages).
With vid and nid ...
See http://drupal.org/node/1514794
Wr
Comment #2
IceCreamYou CreditAttribution: IceCreamYou commentedI don't think there is equivalent code in Statuses to that issue. This usually comes up when a module is calling a load() function with an array, which usually works in D6 but not D7. Statuses doesn't do this though.
Some people have reported this problem with OG or its submodules. Also take a look at this issue: #1102570: array_flip() [function.array-flip] issue in DrupalDefaultEntityController / entity.inc
Comment #4
diogene CreditAttribution: diogene commentedHello,
I had the problem recently try to access a book I had previously created before installing Organic Groups module. I tryed to refresh the permissions and it works know, I can edit (though i cannot save, it is hard to configure the rights properly). To refresh just go to reports>status report>node access permissions > rebuild permission (do it twice just in case).
Laurent (diogene.net)
Comment #5
mathankumarc CreditAttribution: mathankumarc commentedI thinks this is not at all related to statuses.
Comment #6
IceCreamYou CreditAttribution: IceCreamYou commentedThe version of OG could be an issue here, Statuses only supports OG 7.x-1.x right now (though you'd probably get WSODs with OG 2.x installed).
But yes, I'm inclined to agree that this is not related to Statuses. What I would do is edit entity.inc at the line(s) where the file occurs and do a backtrace there if the relevant variable is not an array (
print_r(debug_backtrace()); die();
or if you have the devel module installed justddebug_backtrace();
). From that you should be able to see what code passes the wrong values.Comment #7
IceCreamYou CreditAttribution: IceCreamYou commentedThis is most likely a duplicate of #1102570: array_flip() [function.array-flip] issue in DrupalDefaultEntityController / entity.inc and I can't reproduce it in Statuses.
Comment #8
benheinz CreditAttribution: benheinz commentedI got rid of these errors vy disabling "SPARQL API" modules.