Relation "clientis" is not defined in active record class "UserGroupsUser"
strano perchè la relazione clientis è definita della classe UserGroupsUser ovvero:
public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
'clientis'=> array(self::HAS_ONE, 'Clienti' , 'user_id' ),
);
}
Sbagli in “UsergroupsUser” e l’errore è nella “g” minuscola. Se è la soluzione al tuo problema, ricordati di mettere [RISOLTO] nel titolo di questo thread.
L’errore dice “Relation “clientis” is not defined in active record class “UserGroupsUser””. Questo significa che da qualche parte (magari non dove stai cercando tu) si utilizza UserGroupsUser invece ce UsergroupsUser. Prova a fare una ricerca nei files del tuo progetto per verificare questa cosa.