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

APPPATH/views/productsDetail.php [ 190 ]

185 
186           <tbody>
187 
188             <tr><th>&nbsp;</th><th><?php echo $trans->pn[$ln]; ?></th><th><?php echo $trans->dim[$ln]; ?></th><th><?php echo $trans->pcs[$ln]; ?></th></tr>
189 
190           <?php foreach ($tablo as $ke => $val): ?>
191 
192             <tr>
193 
194             <?php $t = json_decode($pronames[$val->part]->title); ?>
195 
  1. APPPATH/views/productsDetail.php [ 190 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()

  5. APPPATH/classes/controller/base.php [ 81 ] » Kohana_View->__toString()

  6. {PHP internal call} » Controller_Base->after()

  7. SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke(arguments)

  8. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  9. SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)

  10. DOCROOT/index.php [ 111 ] » Kohana_Request->execute()

Environment