Re: Undefined Method stdClass::read()

2006-10-22 Thread Trevor Burton
Spot on, my fault - Product was missing it's association with Category Thanks! TOn 10/22/06, AD7six <[EMAIL PROTECTED]> wrote: Hi Trevor,If you did $this->Product->IMadeThisUp->read(); you would get the sameerror message.You need to either include Category in the association definition forProduct

Re: Undefined Method stdClass::read()

2006-10-22 Thread AD7six
Hi Trevor, If you did $this->Product->IMadeThisUp->read(); you would get the same error message. You need to either include Category in the association definition for Product, or you have defined Category such that it doesn´t extend AppModel (or AppModel is defined but doesn´t extend Model). H

Undefined Method stdClass::read()

2006-10-22 Thread [EMAIL PROTECTED]
I'm getting errors from controller of this sort: Undefined Method stdClass::read() Undefined Method stdClass::find() Undefined Method stdClass::findAll() basically any method i try and call on a model it says is undefined, what am i doing wrong, here? the line that's generating th