ErrorException [ Warning ]: Undefined array key 0

APPPATH/views/site/car-details.php [ 14 ]

 9                 <p><a href="<?php echo URL_BASE; ?>buyback?price=<?php echo @$details[0]['price']; ?> ">360° 12-Month BuyBack Guarantee</a></p>
10               </div>
11             <?php } ?>
12             <div class="owl-carousel owl-theme car-details-carousel detailImages">
13               <?php foreach($images as $img){
14                 if($img['car_id'] == $details[0]['id']){
15               ?>
16                 <div class="item">
17                     <div class="car-details-carousel-img">
18                         <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$img['car_image']); ?>
19                         <?php $image = str_replace('/var/www/sharedrive/auto/public/images/cars/',URL_BASE."public/images/cars/",$image); ?>
  1. APPPATH/views/site/car-details.php [ 14 ] » Kohana_Core::error_handler()

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

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

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

  5. SYSPATH/classes/Kohana/Response.php [ 196 ] » Kohana_View->__toString()

  6. APPPATH/classes/Controller/Details.php [ 31 ] » Kohana_Response->body()

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

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

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

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

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

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

Environment