ErrorException [ Notice ]: Undefined variable: active_category

APPPATH/views/template/read_press.php [ 15 ]

10                 $li_category = '';
11                 $last_pres_category_id = 'KJHiuyhnjwey98';
12                 foreach ($press_category as $pg) {
13                   if ($press_category !== $pg->press_category_id) {
14                     $press_category = $pg->press_category_id;
15                     $act = ($pg->press_category_id == $active_category) ? 'active' : '';
16                     $li_category .= '<li><a class="'.$act.'" href="'.URL::root().$lang.'/media/press-release/category/'.$pg->press_category_id.'">'.$pg->title.'</a></li>';
17                   }
18                   
19                 }
20                 
  1. APPPATH/views/template/read_press.php [ 15 ] » 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/default/template/site.php [ 109 ] » 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. MODPATH/webarq/themes/classes/Controller/System.php [ 191 ] » Kohana_Controller_Template->after()

  10. APPPATH/classes/Controller/Default/Template/Site.php [ 222 ] » Controller_System->after()

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

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

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