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 private module issue queue.
After I enabled the private message module (http://drupal.org/project/privatemsg) I can't post anything into a group on the site 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 private message issue queue (http://drupal.org/node/1974638) 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
blacklabel_tom commentedJust a quick update, upgrading to the 7.2 dev version fixed this issue for me.
Cheers
Tom
Comment #2
ezra-g commentedMarking as fixed per #1. See also #1975198: [Meta] Trusted Contacts & Private messaging for the upcoming solution to private messaging in Commons.
Comment #3.0
(not verified) commentedAdded link to the private message issue