class Controller_Admin extends \Controller_Template{ }
3Class Controller_Messaging extends \Controller_Admin 4{ 5 public function action_index() 6 { 7 $data = array(); 8 $this->template->title = 'Example Page'; 9 $this->template->content = \View::factory('inbox', $data); 10 11} 12 13public function action_compose(){ Backtrace 1. COREPATH/base.php @ line 201 2. APPPATH/modules/messaging/classes/controller/messaging.php @ line 8 3. COREPATH/classes/request.php @ line 328 4. DOCROOT/index.php @ line 42
Try to guess what I tried to suggest you change about your before() method in my quote above...Do you have a before() method in there? And if so does it call parent::before()? Otherwise the template property isn't instantiated.
It looks like you're new here. If you want to get involved, click one of these buttons!