ErrorException [ Notice ]: Trying to get property of non-object

/var/www/CMS-PRODUCTION/libs/3.1.2/breezy/search/classes/Breezy/Search/Driver/Elasticsearch.php [ 60 ]

55 		$index = $this->create_index_name($language);
56 		$request['from'] = '0';
57 		$request['fields'] = '';
58 		$request['size'] = 100;
59 		$result = $this->client->search($index,  null, $request);
60 		return $result->hits->total;
61 	}
62 
63 	public function add_to_index($language, $table, $entity) {
64 		if (!$this->is_index_exists($language)) {
65 			$this->create_index($language);
  1. /var/www/CMS-PRODUCTION/libs/3.1.2/breezy/search/classes/Breezy/Search/Driver/Elasticsearch.php [ 60 ] » Kohana_Core::error_handler(arguments)

  2. /var/www/CMS-PRODUCTION/libs/3.1.2/breezy/search/classes/Breezy/Search.php [ 82 ] » Breezy_Search_Driver_Elasticsearch->count(arguments)

  3. APPPATH/classes/Controller/Search.php [ 55 ] » Breezy_Search->count_all()

  4. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Search->action_author()

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

  6. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

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

  8. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  9. MODPATH/breezy/classes/Breezy/Request.php [ 73 ] » Kohana_Request->execute()

  10. DOCROOT/index.php [ 155 ] » Breezy_Request->execute()

Environment