Error occur when press add new related record link
Posted: Thu Jun 14, 2012 4:55 am
Greetings,
We have problem in related table that some time it throws the below error when have multiple entries already in that related table.
The error is thrown when I click add new record (this is the related record)
" throw new Exception("Error in Dataface_RelatedRecord constructor. Expected first argument to be of type 'Dataface_Record' but received '".get_class($record)."'.", E_USER_ERROR);"
kindly lead me, that what's the matter, why this error throws?
Thanks
We have problem in related table that some time it throws the below error when have multiple entries already in that related table.
The error is thrown when I click add new record (this is the related record)
" throw new Exception("Error in Dataface_RelatedRecord constructor. Expected first argument to be of type 'Dataface_Record' but received '".get_class($record)."'.", E_USER_ERROR);"
kindly lead me, that what's the matter, why this error throws?
Thanks