Welcome Guest, Not a member yet? Register   Sign In
getting non-object error only in log file
#3

(This post was last modified: 09-10-2017, 07:03 PM by ardavan.)

(09-10-2017, 11:42 AM)InsiteFX Wrote: Your $data is an associate array and your trying to assign an object to it.

It shows another error
Code:
ERROR - 2017-09-11 10:01:57 --> Severity: Warning --> array_map() expects parameter 1 to be a valid callback, function 'objectToArray' not found or invalid function name

But why I'm getting my variable on the view page correctly and ONLY I get the error in the log file?
By the way, I've sent objects in $data in other controllers and they didn't raise any error even in the Log file!
Reply


Messages In This Thread
RE: getting non-object error only in log file - by ardavan - 09-10-2017, 06:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB