ErrorException [ Notice ]: Undefined offset: 1

APPPATH/classes/DateFormat.php [ 35 ]

30             if(!empty($string[1])) $str = $string[1];
31             else $str = '00:00:00';
32 
33             $time = explode(':',$str);
34 
35             $unix =  mktime($time[0], $time[1],$time[2], $date[1],$date[2], $date[0]);
36 
37             $this->day    = date('d',$unix);
38             $this->month  = date('m',$unix);
39             $this->year   = date('Y',$unix);
40             $this->hour   = date('H',$unix);
  1. APPPATH/classes/DateFormat.php [ 35 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/default/music/track.php [ 105 ] » DateFormat->__construct(arguments)

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

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

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

  6. APPPATH/views/default/home.php [ 89 ] » Kohana_View->__toString()

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

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

  9. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

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

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

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

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

  15. DOCROOT/index.php [ 117 ] » Kohana_Request->execute()

Environment