PoeticMediaLab / Lacuna

Lacuna: Digital Annotation for Teaching and Learning
http://www.lacunastories.com
GNU General Public License v2.0
36 stars 20 forks source link

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 175 of /var/www/html/includes/entity.inc) #216

Closed michaelha closed 6 years ago

michaelha commented 6 years ago

I'm getting the following error messages:

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 175 of /var/www/html/includes/entity.inc). Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 388 of /var/www/html/includes/entity.inc). image

Running Drupal 7.58

michaelha commented 6 years ago

I'm running this on a RHEL 7 VM with PHP 5.4.16

mwidner commented 6 years ago

@michaelha Although this looks like a bug, it's actually just a warning that can be safely ignored. It won't affect performance of the software in any way. I recommend that you disable the display of these messages by going to "Administration » Configuration » Development » Logging and errors" (/admin/config/development/logging) and select the "None" option, then save the configuration. This will prevent these types of messages from appearing.

michaelha commented 6 years ago

Thanks for the response @mwidner. I didn't know that I can disable these messages. This is really helpful.