Hi,
I'm not sure if this really belongs here, but I thought it might help to highlight this issue here as well as the commons issue queue.
After I enabled the private message module I can't post anything into a group on commons without getting the following error:
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 179 of /home/quickstart/websites/commons3.beta/includes/entity.inc).
Recoverable fatal error: Object of class Message could not be converted to string in DatabaseStatementBase->execute() (line 2168 of /home/quickstart/websites/commons3.beta/includes/database/database.inc).
I printed out what is passed to array_flip() in entity.inc and it looks like the whole node created notification object is getting passed into $ids. I have attached a print out of $ids just before it is passed to array_flip().
I have posted this into the commons issue queue (http://drupal.org/node/1974634) and I'll have a dig into it myself today to see if I can figure out why this is happening.
Cheers
Tom
Comment | File | Size | Author |
---|---|---|---|
privatemessage-error.txt | 16.29 KB | blacklabel_tom |
Comments
Comment #1
wespacker CreditAttribution: wespacker commentedHi Tom,
I'm getting this issue also. I'll let you know if I find a solution.
Comment #2
BerdirTry to use the dev version to see if this is fixed there.
Comment #3
blacklabel_tom CreditAttribution: blacklabel_tom commentedJust a quick update, upgrading to the 7.2 dev version fixed this issue for me.
Cheers
Tom
Comment #4
wespacker CreditAttribution: wespacker commentedMe also. Thanks dudes.
Wes
Comment #5
Berdir7.x-1.x-dev should work as well, if you don't want to switch to 7.x-2.x.
Comment #6
ptmkenny CreditAttribution: ptmkenny commentedBased on #3 and #4, I'm closing this.