ErrorException [ Notice ]: Undefined offset: 0

SYSPATH/classes/kohana/text.php [ 75 ]

70 
71 		preg_match('/^\s*+(?:\S++\s*+){1,'.$limit.'}/u', $str, $matches);
72 
73 		// Only attach the end character if the matched string is shorter
74 		// than the starting string.
75 		return rtrim($matches[0]).((strlen($matches[0]) === strlen($str)) ? '' : $end_char);
76 	}
77 
78 	/**
79 	 * Limits a phrase to a given number of characters.
80 	 *
  1. SYSPATH/classes/kohana/text.php [ 75 ] » Kohana_Core::error_handler()

  2. APPPATH/views/blog/read.php [ 25 ] » Kohana_Text::limit_words(arguments)

  3. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  4. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  6. SYSPATH/classes/kohana/response.php [ 160 ] » Kohana_View->__toString()

  7. APPPATH/classes/controller/page.php [ 27 ] » Kohana_Response->body(arguments)

  8. APPPATH/classes/controller/blog.php [ 23 ] » Controller_Page->after()

  9. {PHP internal call} » Controller_Blog->after()

  10. SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke(arguments)

  11. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  12. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  13. /index.php [ 114 ] » Kohana_Request->execute()

Environment