ErrorException [ Notice ]: Undefined offset: 0

APPPATH/classes/Model/event.php [ 59 ]

54 
55 			$result = 'BEGIN:VCALENDAR
56 VERSION:2.0
57 PRODID:-//emailmatrix.ru// Event creation tool
58 CALSCALE:GREGORIAN
59 '.$matches[0][0].'
60 BEGIN:VEVENT
61 DTSTAMP:'.date('Ymd').'T'.date('His').'Z
62 UID:20161017T114611Z-497098942@emailmatrix.ru
63 DTSTART;TZID="'.$timezone.'":'.date('Ymd', $start_time).'T'.date('His', $start_time).'
64 DTEND;TZID="'.$timezone.'":'.date('Ymd', $end_time).'T'.date('His', $end_time).'
  1. APPPATH/classes/Model/event.php [ 59 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/EventTgenerator.php [ 90 ] » Model_Event->get(arguments)

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

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

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

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

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

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

Environment