Thanks Thiago, that was the problem On Nov 13, 10:32 pm, Thiago Belem <[email protected]> wrote: > Did you enabled the TimeHelper on the $helpers property on your Controller? > > http://book.cakephp.org/2.0/en/controllers.html#Controller::$helpers > > Cya, > -- > ***Thiago Belem* > Desenvolvedor > Rio de Janeiro - RJ - Brasil > > +55 (21) 8865.9250 > thiagobelem.net > [email protected] > > *Skype / gTalk **»* thiago.belem.web > *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* > Assando Sites*, curso de CakePHP *»* assando-sites.com.br > > 2011/11/14 john lyles <[email protected]> > > > > > > > > > I am using Cake v2.0.2 > > > Why would the following generate this error??: > > > Fatal error: Call to a member function format() on a non-object in C: > > \xampp\htdocs\myapp\View\Themed\mytheme\posts\index.ctp on line 6 > > > $this->Time->format('F j, Y', $post['Post']['created']); > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
