PHP warning

A non-numeric value encountered

/mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(733)

721 //        $this->data["itemsPerPage"]       = $condition->limit;
722 //        $this->data["businessItemsTotal"] = BusinessModel::model()->count( $condition );
723 //        
724 //    }
725     
726     protected function getProducts( $condition )
727     {   
728         $type         = Yii::app()->getRequest()->getQuery( "type" );
729         $productPage  = Yii::app()->getRequest()->getQuery( "productPage" );
730         $page         = $productPage ? $productPage : $this->page;
731         if( $type == "product" )
732         {
733             $condition->offset          = ( $page ? $page - 1 : 0 ) * $condition->limit;
734             $this->data["productPage"]  = ( $page > 1 ? $page - 1 : 0 );
735         }
736         
737         if( empty( $this->data["cityId"] ) && empty( $this->data["countyId"] ) && empty( $this->data["what"] ) )
738         {
739             return;
740         }
741       
742         $conditionBusiness          = new CDbCriteria();
743         $conditionBusiness->select  = "id";
744         $conditionBusiness->limit   = 100;
745         

Stack Trace

#0
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(132): Front_SearchController->getProducts(CDbCriteria)
127         return $condition;
128     }
129     
130     protected function loadListsAndSaveSearch( $condition )
131     {
132         $this->getProducts( clone $condition );
133         $this->getCategories( clone $condition, COUNTRY_ID );
134         $this->getBusinesses( clone $condition, COUNTRY_ID );
135         if( ! empty( $this->data["businessListSearch"] ) )
136         {
137             $this->getCitiesAndCountiesForBusinesses( $this->data["businessListSearch"] );
#1
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/Front_SearchController.php(53): Front_SearchController->loadListsAndSaveSearch(CDbCriteria)
48     public function actionIndex()
49     {
50         $condition = $this->createCondition();
51         
52         // load lists and save search history if needed
53         $this->loadListsAndSaveSearch( $condition );
54 
55         $this->render("/search/index");
56     }
57     
58     protected function createCondition()
#9
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/catalogafaceri.ro/public_html/index.php(44): CApplication->run()
39 define( "LANGUAGE_PATH", BASE_PATH."protected/languages/" );
40 
41 date_default_timezone_set( "Europe/Bucharest" );
42 
43 require_once( $yii );
44 Yii::createWebApplication( $config )->run();
2024-03-28 15:29:52 Apache Yii Framework/1.1.10