Same here, any solutions? BTW, HtmlHelper works between <cake:nocache> and </cake:nocache>, it seems that only FormHelper doesn't work.
On Jan 21, 10:46 am, maeto-lay <[email protected]> wrote: > I try to change all of my pages to use the view caching feature of > cakephp. > The problem occurred when I try to useing the cache in the page that > have > formHelper. > > This is my code. > > <cake:nocache> > <?php > echo $form->create('User'); > echo $form->input('User.username'); > echo $form->end('submit'); > ?> > </cake:nocache> > > And when I refresh the page to see if cache working I found this > error. > > Notice (8): Undefined property: stdClass::$model > [CORE\cake\libs\view\helper.php, line 328] > Notice (8): Undefined property: stdClass::$association > [CORE\cake\libs\view\helper.php, line 361] > Notice (8): Undefined property: stdClass::$field > [CORE\cake\libs\view\helper.php, line 361] > > Fatal error: Call to a member function entity() on a non-object in > C:\xampplite\htdocscontainer\htdocs\cake\libs\view\helper.php on line > 316 > > I don't want to hand code all the form in my web so if anyone can help > me > please light me up. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
