ErrorException [ Warning ]: Undefined array key 1

MODPATH/sport/classes/Module/Event/Odds.php [ 137 ]

132                     }
133                 }
134                 
135             }
136             if (isset($fakes['X'])) {
137                 $fakes[2]['percent'] = 100 - $fakes[1]['percent'] - $fakes['X']['percent'];
138                 $fakes[2]['fake'] = 100 - $fakes[1]['fake'] - $fakes['X']['fake'];
139             }
140 
141             $this->view->predictions = $fakes;
142             
  1. MODPATH/sport/classes/Module/Event/Odds.php [ 137 ] » Kohana_Core::error_handler()

  2. MODPATH/_internal/module/classes/Kohana/Module.php [ 46 ] » Module_Event_Odds->_initialize()

  3. MODPATH/_internal/module/classes/Kohana/Module.php [ 26 ] » Kohana_Module->__construct()

  4. APPPATH/classes/Controller/Template.php [ 207 ] » Kohana_Module::factory()

  5. APPPATH/classes/Controller/Template.php [ 153 ] » Controller_Template->_init()

  6. SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Template->before()

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

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

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

  10. APPPATH/classes/Request.php [ 144 ] » Kohana_Request_Client->execute()

  11. DOCROOT/index.php [ 360 ] » Request->execute()

Environment