Closed (duplicate)
Project:
Drupal core
Version:
7.14
Component:
entity system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 May 2012 at 17:41 UTC
Updated:
5 Jun 2013 at 08:36 UTC
After update from 7.12 to 7.14 i have in most page this error:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (linea 354 di /home/site_name/public_html/includes/entity.inc).
Comments
Comment #1
berdirThat part of the code has not been changed between these two versions. Did you update/add any other modules while updating? Changing to a support request until we have confirmation that this is actually a bug.
Try to figure out where this is coming from. One way to do that is enable devel.module and add the following code on the line above. Then check who is calling the function with invalid arguments.
You can also use debug_print_backtrace() if you don't have devel.module but this is much easier to read.
Comment #2
drupalsim91 commentedsorry but I'm no expert and I tried to install dev.module but I can not use it. I just updated the core, no other form.
I upgraded from Drupal 6 to Drupal 7.12 and there were no problems. 7.12 to 7.14 from drupal drupal I get this error.
Comment #3
drupalsim91 commentedi fixed the problem whit this patch:
http://drupal.org/node/1102570
UPDATE: not function, return this error
Exception: Entity id can only be a string or integer, for entity '' of type 'taxonomy_term' in _entity_check_ids() (linea 7636 di /home/.../includes/common.inc).
Comment #4
dddave commented