[ Notice ]: Trying to access array offset on value of type bool

APPPATH/classes/datasource.php [ 232 ]

227         
228         $this->motives = array(
229             'data' => $tmp,
230             'info' => array(
231                 'page'       => 1,
232                 'page_count' => ceil($motives['nb_results']/$limit)
233             )
234             
235         );
236     }
237     /**
  1. APPPATH/classes/datasource.php [ 232 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/boxes/creator.php [ 84 ] » DataSource->setSimilar(arguments)

  3. MODPATH/webpage/classes/boxes.php [ 124 ] » Boxes_Creator->get()

  4. MODPATH/webpage/classes/controller/webpage.php [ 119 ] » Boxes->getData()

  5. MODPATH/webpage/classes/controller/webpage.php [ 184 ] » Controller_Webpage->parse()

  6. {PHP internal call} » Controller_Webpage->action_index()

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

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

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

  10. /index.php [ 84 ] » Kohana_Request->execute()

Environment