Kohana_Exception [ 0 ]: Cannot update lecture model because it is not loaded.

MODPATH/orm/classes/Kohana/ORM.php [ 1375 ]

1370 	 * @return ORM
1371 	 */
1372 	public function update(Validation $validation = NULL)
1373 	{
1374 		if ( ! $this->_loaded)
1375 			throw new Kohana_Exception('Cannot update :model model because it is not loaded.', array(':model' => $this->_object_name));
1376 
1377 		// Run validation if the model isn't valid or we have additional validation rules.
1378 		if ( ! $this->_valid OR $validation)
1379 		{
1380 			$this->check($validation);
  1. APPPATH/views/main/lecture.php [ 130 ] » Kohana_ORM->update()

  2. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  5. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  6. APPPATH/classes/Controller/Main.php [ 627 ] » Kohana_Response->body(arguments)

  7. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Main->action_view()

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

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

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

  11. SYSPATH/classes/Kohana/Request.php [ 1033 ] » Kohana_Request_Client->execute(arguments)

  12. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment