ErrorException [ Notice ]: Undefined index: PublishDateTime

APPPATH/classes/Model/Recruitment.php [ 60 ]

55 	public function getAnnouncement($ID)
56 	{
57 		$row = DB::select()->from($this->table_name)->where('ID', '=', $ID)->execute()->current();
58 
59 		$row['SubmissionDeadline'] = strtotime($row['SubmissionDeadline']);
60 		$row['PublishDateTime'] = strtotime($row['PublishDateTime']);
61 
62 		$row['SubmissionDeadline'] = date('d-m-Y', $row['SubmissionDeadline']);
63 		$row['PublishDateTime'] = date('d-m-Y', $row['PublishDateTime']);
64 
65 		return $row;
  1. APPPATH/classes/Model/Recruitment.php [ 60 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Recruitment.php [ 58 ] » Model_Recruitment->getAnnouncement(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Recruitment->action_show()

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

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

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

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

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

Environment