ErrorException [ Warning ]: Invalid argument supplied for foreach()

APPPATH/classes/Controller/Wyniki.php [ 251 ]

246 				}
247 				foreach ($races as $race) {
248 					if(strtolower($race->name) == "open") {
249 						continue;
250 					}
251 					foreach($participants_list[$race->id] as $key => $participant) {
252 						// szukam nr startowy zawodnika do usuniecia
253 						if (in_array($participant['number'], $open_category_players_to_exclude)) {
254 							unset($participants_list[$race->id][$key]);
255 						}
256 					}
  1. APPPATH/classes/Controller/Wyniki.php [ 251 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Wyniki->action_dekoracja()

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

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

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

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

  7. DOCROOT/index.php [ 131 ] » Kohana_Request->execute()

Environment