Friday, October 31, 2008

Fatal error Call to undefined method Controller Html()

I have this

var $helpers = array('Html', 'Form', 'Captcha');

and now when I use


$this->Captcha->show(); IT works perfectly..No issues there

but when I use something like

$this->Html('title' , '');

The error given is

Fatal error: Call to undefined method UsersController::Html()

So what could be causing this error ?

Any help would be greatly appreciated
--~--~---------~--~----~------------~-------~--~----~
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: