ErrorException [ Notice ]: Undefined variable: name

APPPATH/classes/Browser.php [ 55 ]

50                 continue;
51             }
52         }
53 
54         /* ----------------------------------------- robot name --------------------------------------------- */
55         $known = array('version', strtolower($name), 'other');
56         $pattern = '#(?<browser>' . join('|', $known) . ')[/ ]+(?<version>[0-9.|a-zA-Z.]*)#';
57         if (preg_match_all($pattern, $agent, $matches)) {
58             if (count($matches['browser']) > 0) {
59                 if (strripos($agent, "version") < strripos($agent, strtolower($name))) {
60                     $version = $matches['version'][0];
  1. APPPATH/classes/Browser.php [ 55 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/HTML.php [ 43 ] » Browser::get_browser_info(arguments)

  3. APPPATH/views/zh-cn/product/download.php [ 96 ] » HTML::download2(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

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

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

  7. APPPATH/views/zh-cn/template.php [ 418 ] » Kohana_View->__toString()

  8. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

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

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

  11. APPPATH/classes/Controller/Layout.php [ 66 ] » Kohana_Controller_Template->after()

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

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

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

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

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

  17. DOCROOT/index.php [ 113 ] » Kohana_Request->execute()

Environment