Sunday, July 4, 2010

Re: ERROR: Notice (8): Undefined index: User [APP\views\users\profile.ctp, line 25]- can't find the problem

On Sun, Jul 4, 2010 at 1:27 PM, Tomfox Wiranata
<tomfox.wiranata@gmail.com> wrote:
> oki...i just embarrassed myself...
>
> delete ['User'] and it works^^

Also, because you're fetching just one User, there shouldn't be any
need to create a loop in the view. Or do you have Users that share
usernames?

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: