Closed (duplicate)
Project:
Drupal Commons
Version:
7.x-3.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2013 at 16:06 UTC
Updated:
5 Jun 2013 at 12:31 UTC
Hello,
I have installed commons & then after I applied some module e.g. drupalchat & user_relaionship. I am getting these two errors --
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/commons/includes/entity.inc).
Recoverable fatal error: Object of class Message could not be converted to string in DatabaseStatementBase->execute() (line 2139 of /var/www/commons/includes/database/database.inc).
Thanks
Comments
Comment #1
ezra-g commentedHave you looked in the issue queues for the contrib modules that you're using and searched for the errors you're encountering? Can you identify a specific combination of modules or steps to reproduce?
Comment #2
orb commentedDrupal 7.22/ Commons (commons-7.x-3.2)
1. If I create a group content, site - return 500 error
PHP Fatal error: Call to undefined function message_subscribe_process_message() in /home/test/www/commons.site.ru/profiles/commons/modules/contrib/commons_notify/commons_notify.module on line 50
2. If I disable module XXX site gives an error
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! в функции DrupalDefaultEntityController->load() (строка 178 в файле /includes/entity.inc).
Recoverable fatal error: Object of class Message could not be converted to string в функции DatabaseStatementBase->execute() (строка 2168 в файле /includes/database/database.inc).
Comment #3
orb commentedComment #4
devin carlson commentedThese errors are addressed in the issues #1979604: Call to undefined function message_subscribe_process_message and #1102570: array_flip() [function.array-flip] issue in DrupalDefaultEntityController / entity.inc.