InvalidArgumentException

hi guys …
I’m new in cakephp and i like it .(cool)
as you have guessed i got error.
this error

Invalid data type, must be an array or \ArrayAccess instance.
InvalidArgumentException

it’s seems like i do something wrong with the Controller or the Model?? or the AppController!!
Generally what is the cause of this Exception.
what is the site and situation

any help would be appreciated.
Arigato

Generally, this is caused by passing something that’s not an array or \ArrayAccess instance to a function that demands that the parameter be one of those types.

Specifically, we can’t say anything at all about this, as it might be you trying to call one of your own functions incorrectly. A stack trace would be very useful.