Exception [ 0 ]: Не передана категория, либо передан пустой d_mysql_res объект

MODPATH/cms_catalog/classes/Model/ItemCatalog.php [ 167 ]

162 				$ids_cats[] = $cat->id;
163 			}
164 		}
165 		
166 		if( ! $ids_cats )
167 			Throw new exception('Не передана категория, либо передан пустой d_mysql_res объект');
168 								
169 		return $this->and_where('id_category', 'IN', $ids_cats);
170 	}
171 	
172 	/**
  1. APPPATH/classes/Model/SearchParam.php [ 41 ] » Model_ItemCatalog->find_items_by_cats(arguments)

  2. MODPATH/cms_widget/classes/Widgets/SearchParamSite.php [ 60 ] » Model_SearchParam->get_all_search_param(arguments)

  3. APPPATH/classes/Model/LinksExtend.php [ 94 ] » Widgets_SearchParamSite->Render()

  4. APPPATH/classes/Controller/Site/Catalogs.php [ 168 ] » Model_LinksExtend->render_links_category(arguments)

  5. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Catalogs->action_index()

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

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

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

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

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

Environment