Логин: Пароль: Restore password

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

APPPATH/views/site/pages/index.php [ 22 ]

17                     <select class="select" name="start_country">
18                         <option value="0">— <?php echo __('common.select_country') ?> —</option>
19                         <?php
20 
21                         $lGeoAreasOptions = '<optgroup label="------------------">';
22                         foreach($geo_areas as $lVal)
23                         {
24                             $lGeoAreasOptions .= '<option '.' value="'. $lVal['id'].'_">'.
25                                 $lVal['name'].'</option>';
26                         }
27                         $lGeoAreasOptions .= '</optgroup>';
  1. APPPATH/views/site/pages/index.php [ 22 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/site/main.php [ 54 ] » Kohana_View->__toString()

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

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