Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/11/2014, 14:40
Avatar de Dundee
Dundee
 
Fecha de Ingreso: junio-2002
Ubicación: El Médano
Mensajes: 1.310
Antigüedad: 21 años, 10 meses
Puntos: 8
Respuesta: Warning: spl_object_hash() expects parameter 1 to be object, integer given

Me auto-respondo, aquí http://obtao.com/blog/symfony2-issue...ot-understand/ comentan lo siguiete:

Cita:
3) Warning: spl_object_hash() expects parameter 1 to be object, string given in XXXX

The error is quite explicit : you have defined a string (or something else) instead of an object.

You need to check what is set in your main objet. If you use a form, you probably have a field type error (choice or text instead of entity for example). To solve this, you may need to use a Data Transformer
Pero no entiendo muy bien a que se refiere, mis campos de la tabla son tipo integer dos de ellos ParentBranch y CreatorUid y Phrase tipo string, no se que quiere decir, ¿alguien me puede echar un cable con esto?.

Gracias de antemano.
__________________
Videotutoriales de Drupal