What happens if you: die(debug($this->data));
... in the view? Jeremy Burns [email protected] On 29 Apr 2010, at 15:42, Andrei Mita wrote: > I populate $this->data like this: > > function edit($id=null){ > ... > if (empty($this->data)) { > $this->data = $this->Profile->read(null, $id); > ... > } > > > On Thu, Apr 29, 2010 at 5:38 PM, Jeremy Burns <[email protected]> wrote: > OK - that might be it then. Only just discovered this functionality - maybe > it's a 1.3 thing. > > What's in $this->data? > > > Jeremy Burns > [email protected] > > On 29 Apr 2010, at 15:33, Andrei Mita wrote: > >> 1.2.7 i believe. >> >> >> On Thu, Apr 29, 2010 at 5:32 PM, Andrei Mita <[email protected]> wrote: >> Terribly sorry for the whole controller dump. >> >> I only meant this: >> >> >> Notice (8): Undefined property: View::$Profile >> [APP/views/profiles/edit.ctp, line 17] >> >> Fatal error: Call to a member function value() on a non-object in >> /var/www/fotopoetica/app/views/profiles/edit.ctp on line 17 >> >> >> On Thu, Apr 29, 2010 at 5:24 PM, Andrei Mita <[email protected]> wrote: >> In the view? >> >> If yes, I get this: >> >> >> >> >> Check out the new CakePHP Questions site http://cakeqs.org and help others >> with their CakePHP related questions. >> >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] For more options, visit this group at >> http://groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
