ErrorException [ Warning ]: count(): Parameter must be an array or an object that implements Countable

APPPATH/views/front/documents/default.php [ 55 ]

50             <div class="nicdark_divider left small">
51                 <span class="nicdark_bg_green nicdark_radius"></span>
52             </div>
53             <div class="nicdark_space20"></div>
54             <?php
55             $nbdocumentss = count($documents);
56             $output = '';
57             if (count($subfolders) > 0 && ($pagination->current_page == 1 || is_null($documents))) {
58                 $output  .= '<ul class="nicdark_list border">';
59                 foreach ($subfolders as $subfolder) {
60                     $output .= '<li class="nicdark_border_grey">';
  1. APPPATH/views/front/documents/default.php [ 55 ] » Kohana_Core::error_handler(arguments)

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

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

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

  5. APPPATH/views/front/template/reaap73.php [ 78 ] » Kohana_View->__toString()

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

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

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

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

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Base->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 [ 997 ] » Kohana_Request_Client->execute(arguments)

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

Environment

REAAP 73

Réseau d'Ecoute, d'Appui et d'Accompagnement des Parents de Savoie

              
 

LIENS