Error [ 0 ]: Non-static method Model_Comment::findFor() cannot be called statically

APPPATH/classes/Controller/Skin/Catalog.php [ 242 ]

237 		$js .= 'var texture = ' . json_encode($textureObject) . ';' . PHP_EOL;
238 			
239 		
240 		$title = $texture->getPageTitle();
241 		$description = $texture->getPageDescription();
242 		$comments = Model_Comment::findFor('skin', $texture->id);
243 		
244 		$this->content('texture', $texture)
245 			 ->content('description', $description)
246 			 ->content('title', $title)
247 			 ->content('recent', $recent)
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Skin_Catalog->action_show()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke()

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()

  5. SYSPATH/classes/Kohana/Request.php [ 993 ] » Kohana_Request_Client->execute()

  6. DOCROOT/index.php [ 120 ] » Kohana_Request->execute()

Environment