I have a function which I created to return all fields of a row. However, it returns the following error.
Notice: Trying to access array offset on value of type