So I’m trying to go through the Version 3 Guide of Kohana and keep getting an error on the hello world create view part.
ErrorException [ Warning ]: Attempt to assign property of non-object
Line 8: $this->template->message = 'hello world';
I placed the site.php in the application/views folder… is this the wrong place…?
The code….
public $template = 'site';
public function action_index()
{
$this->template->message = 'hello world';
}
If anyone can shed some light on what I’m doing wrong I’d much appreciate it… Thanks
Oops forgot to extend the right controller.
Had
Needed to have