ErrorException [ Notice ]: Undefined variable: name

APPPATH/views/Category/Index.php [ 52 ]

47             foreach ($categoryManufacturers as $manufacturer) {
48                 if($manID==$manufacturer->id){
49                     echo '<a href="/'.$category_main->get_url().'/'.$manufacturer->slug.'" style="font-weight:bold;">' . $name . ' ' . $manufacturer->name . ' </a> - ';
50                 }
51                 else{
52                     echo '<a href="/'.$category_main->get_url().'/'.$manufacturer->slug.'">' . $name . ' ' . $manufacturer->name . ' </a> - ';
53                 }
54             }
55             echo '</div>';
56         }
57         ?>
  1. APPPATH/views/Category/Index.php [ 52 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/Templates/Index.php [ 77 ] » Kohana_View->__toString()

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

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

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

  9. APPPATH/classes/Controller/Templates/TemplateDefault.php [ 160 ] » Kohana_Controller_Template->after()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Templates_TemplateDefault->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 [ 996 ] » Kohana_Request_Client->execute(arguments)

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

Environment