Are you calling this in a view or in a controller?

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 24 Mar 2011, at 05:31, Shashank wrote:

> I am getting this error while using echo $this->element('left',
> array("b" => "current"));....
> 
> Error i am getting is:
> 
> Call to undefined method UsersController::element()
> 
> Can someone tell me wats the issue here is??
> 
> -- 
> 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

-- 
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

Reply via email to