Well, if You're using $this->controller->.... in Email::message() method, You surely have to implement startup(&$controller) method in this component as ros-soft proposed.
My advice is: until You will be looking for reason for this error, better will be create empty controller with only necessary code and use cake's default layout, or some basic one, so You can be absolutely sure there is no conflict between Your and cake's core code. And other thing: if Your controller doesn't use any model, IMHO You can want to put var $uses = null; to controller's definition. Then try temporary put code pr($loaded); pr($components); to method Component::_loadComponents() (file cake/libs/controller/component.php) - just to start of this method - and just before return $loaded; line ..so we can start investigate somewhere. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
