So, because i want the program goes on even on this error, i tried this in replace of the above instruction:
where $hname and $chin are variables in the program that can help me understood the reason of the error.
At this point i thought that i had the above phrase instead the "Can't call method rows..."