Strona główna Produkty O firmie Praca Media Aktualności Kontakt Katalog PDF
+48 609 225 226
+48 601 339 311

ErrorException [ Warning ]: current() expects parameter 1 to be array, null given

APPPATH/views/products/top.php [ 5 ]

 1 
 2  <div class="products-tiles">
 3     <div class="container">
 4   <?php
 5   $ids = array_map('current', $currentCategories);
 6 
 7   foreach ($categories as $cat)
 8   {
 9     echo '<div class="tile'.(in_array($cat['id'], $ids) ? ' active' : '').'">
10         <img src="'.MEDIA_URL.'productscats/'.$cat['image'].'" alt="">
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » current(arguments)

  3. APPPATH/views/products/top.php [ 5 ] » array_map(arguments)

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

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

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

  7. APPPATH/views/products/home.php [ 1 ] » Kohana_View->__toString()

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

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

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

  11. APPPATH/views/template.php [ 141 ] » Kohana_View->__toString()

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

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

  14. SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()

  15. APPPATH/classes/controller/site.php [ 44 ] » Kohana_Controller_Template->after()

  16. {PHP internal call} » Controller_Site->after()

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

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

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

  20. SYSPATH/init.php [ 109 ] » Kohana_Request->execute()

  21. /home/usteblo/domains/steblo.pl/public_html/index.php [ 12 ] » require_once(arguments)

Environment

Newsletter

Zapisz się i dowiedz się pierwszy o nowościach.