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

APPPATH/views/Product/Product.php [ 149 ]

144             </span>
145         </div>
146         <div class="description--props">
147             <div class="props--header">
148                 <div class="header--parametr">Производитель</div>
149                 <?php foreach($product['list_desc'] as $row):?>
150                 <?php foreach ($row as $key => $val):?>
151                 <div class="header--parametr">
152                     <?php echo $key ;?>
153                 </div>
154                 <?php endforeach;?>
  1. APPPATH/views/Product/Product.php [ 149 ] » 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. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  6. APPPATH/classes/Controller/Product.php [ 74 ] » Kohana_Response->body(arguments)

  7. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Product->action_view()

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

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

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

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

  12. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment