Closed (fixed)
Project:
Privatemsg
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2013 at 10:19 UTC
Updated:
21 Jun 2013 at 06:40 UTC
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 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 commentedJust a quick update, upgrading to the 7.2 dev version fixed this issue for me.
Cheers
Tom
Comment #4
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 commentedBased on #3 and #4, I'm closing this.