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

ezra-g’s picture

Title: A warning & a Recoverable fatal error » Warning & Error with additional contrib modules
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Have 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?

orb’s picture

Drupal 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).

orb’s picture

Status: Postponed (maintainer needs more info) » Needs work
devin carlson’s picture