青娱乐极品盛宴|青娱乐视频|青娱乐极品视觉盛宴精品|青娱乐视频在线观看

Trying to get property of non-object

/app/web/www.b2b.cn/protected/controllers/SearchController.php(521)

509         
510         Yii::app()->clientScript->registerCssFile(Config_Domain::getByName("CnImg")->url."/seocss/20140926/index.css");
511         $this->layout = "hotkeyword";
512         $time = date("Y-m-d",time()-3*30*86400);
513 //         var_dump($time);die;
514         $info = $this->curl_get_post("http://10.0.1.59:8888/api/Order/GetUserOrder/1002/0/100");
515         $inf = $this->curl_get_post('http://10.0.1.59:8888/api/Order/GetUserOrder/1004/'.$time.'/2019-01-01/1/100');
516         $info1 = json_decode($info);
517         $inf1 = json_decode($inf);
518 //         var_dump($inf1);die;
519         
520 521         $item1 = $inf1->item1+$info1->item1;
522         $size=200;
523         $n = $item1/$size;
524         if(is_float($n)){
525             $n = (int)$n+1;
526         }
527 528         $item11 = $inf1->item1;
529         $n1 = $item11/$size;
530         if(is_float($n1)){
531             $n1 = (int)$n1+1;
532         }
533         $this->total = $n;

Stack Trace

#4
+
 /app/web/library/yii/protected/components/Controller.php(87): CController->run("keyword")
82         parent::afterRender ( $view, $output );
83         $this->isRendered = true;
84     }
85     
86     public function run($actionID) {
87         parent::run ( $actionID );
88         if ($this->isRendered === false) {
89             $actionID = ($actionID === '') ? $this->defaultAction : $actionID;
90             $this->render ( $actionID );
91         }
92     }
#8
+
 /app/web/www.b2b.cn/public/index.php(43): CApplication->run()
38 require_once($yii);
39 40 $_GET_utf-8 = $_GET;
41 $_POST_utf-8 = $_POST;
42 
43 Yii::createWebApplication($config)->run();
2019-04-20 04:23:17 nginx/1.2.3 Yii Framework/1.1.12