New answers tagged

0

The node_load function is going to return FALSE if the node is not found. Add a check for the node before trying to call a member function of it. Such as: $modelo = $node ? $node->field_amis_modelo[LANGUAGE_NONE][0]['value'] : '';


Top 50 recent answers are included