ErrorException [ Notice ]: Undefined index: v

APPPATH/classes/Helper.php [ 136 ]

131         if (false !== $result && !empty($matches)) {
132             return $matches[1];
133         }*/
134 
135         parse_str(parse_url($url, PHP_URL_QUERY), $my_array_of_vars);
136         return $my_array_of_vars['v'];
137     }
138 
139 }
  1. APPPATH/classes/Helper.php [ 136 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/pages/video.php [ 29 ] » Helper::getYoutubeCodeFromUrl(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/template.php [ 121 ] » 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/View.php [ 236 ] » Kohana_View->render()

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

  11. APPPATH/classes/Controller/Common.php [ 101 ] » Kohana_Response->body(arguments)

  12. APPPATH/classes/Controller/Video.php [ 30 ] » Controller_Common->after()

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

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

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

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

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

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

Environment