SOS Dogs

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

APPPATH/views/frontend/caini/details.php [ 9 ]

 4             <h2 class="entry-title pet-name-title"><?php echo $data->name; ?></h2>
 5             <?php $images = unserialize($data->imagini); ?>
 6             <div class="gallery_wrap">
 7                 <div id="slider" class="flexslider">
 8                     <ul class="slides">
 9                         <?php foreach ($images as $img): ?>
10                         <li><img src="<?php echo URL::site('thumbs/w610-h800-q90/'.$img); ?>" /></li>
11                         <?php endforeach; ?>
12                     </ul>
13                 </div>
14                 <?php if (count($images) > 1): ?>
  1. APPPATH/views/frontend/caini/details.php [ 9 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/frontend/template/main.php [ 41 ] » Kohana_View->__toString()

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

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

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. APPPATH/classes/Controller/Frontend.php [ 80 ] » Kohana_Controller_Template->after()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Frontend->after()

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

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

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

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

  15. DOCROOT/index.php [ 96 ] » Kohana_Request->execute()

Environment