ErrorException [ Notice ]: Undefined index: thumbnail

APPPATH/views/V8/store/product_card.tpl [ 5 ]

 1 <div class="product-card category-product">
 2     <div class="product-info" data-id="<?php echo $product['id'] ?>">
 3 
 4         <a class="product-thumbnail" href="/product/<?php echo $product['slug'] ?>">
 5             <span class="inner-block" style="background-image: url(<?php echo $product['thumbnail'] ?>)"></span>
 6             <link rel="preload" as="image" href="<?php echo $product['thumbnail'] ?>"/>
 7         </a>
 8         <a class="product-link" href="/product/<?php echo $product['slug'] ?>">
 9             <h4 class="product-name"><?php echo $product['name'] ?></h4>
10         </a>
  1. APPPATH/views/V8/store/product_card.tpl [ 5 ] » Kohana_Core::error_handler()

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

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

  4. APPPATH/views/V8/store/category.tpl [ 48 ] » Kohana_View->render()

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

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

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

  8. APPPATH/views/layout/main.tpl [ 2 ] » Kohana_View->__toString()

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

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

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

  12. APPPATH/classes/Controller/Common/Base.php [ 190 ] » Kohana_Controller_Template->after()

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

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

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

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

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

  18. DOCROOT/public/index.php [ 125 ] » Kohana_Request->execute()

Environment