Error

Class name must be a valid object or a string

/www/wwwroot/www.zqpld.com/web/themes/default/views/content/list.phphtml(35)

23 $module = Yii::app()->params['module'][$this->cate['module']];
24 $criteria = new CDbCriteria(array(
25 'order' => 'id desc',
26 'select' => 'id,cid,title,create_time',
27 ));
28
29 $categoryList = array();
30 $categoryList[] = $this->cate['id'];
31 Category::getAllCategoryIds($categoryList, null, $this->cate['id']);
32
33 $criteria->addInCondition('cid', $categoryList);
34
35 $count = $module::model()->count($criteria);
36 $pages = new CPagination($count);
37 $pages->pagesize = 15;
38 $pages->applylimit($criteria);
39 $list = $module::model()->findAll($criteria);
40 ?>
41 <ul class="list_1">
42 <?php foreach ($list as $v) {
43 ?>
44 <li><a href="<?php echo $v->url; ?>"><?php echo $v->title; ?></a><span><?php echo date('Y-m-d', $v->create_time); ?></span>
45 </li>
46 <?php } ?>
47 </ul>

Stack Trace

#4
+
 /www/wwwroot/www.zqpld.com/web/protected/controllers/ContentController.phphtml(46): CController->render("list")
41 $tpl = $this->cate['indextpl'];
42 }
43 if ($tpl == '') {
44 $tpl = 'list';
45 }
46 $this->render($tpl);
47 }
48
49 public function actionView($cid, $id) {
50 $cid = intval($cid);
51 $id = intval($id);
#14
+
 /www/wwwroot/www.zqpld.com/web/common.phphtml(13): CApplication->run()
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 5);
10 require_once($yii);
11 $app = Yii::createWebApplication($config);
12 require_once($globals);
13 $app->run();
#15
+
 /www/wwwroot/www.zqpld.com/web/index.phphtml(9): require_once("/www/wwwroot/www.zqpld.com/web/common.phphtml")
4 $config=dirname(__FILE__).'/protected/config/mobile.phphtml';
5 }else {
6 $config=dirname(__FILE__).'/protected/config/main.phphtml';
7 }
8 $globals = dirname(__FILE__) . '/protected/globals.phphtml';
9 require_once('./common.phphtml');
2020-08-14 12:52:37 nginx/1.16.0 Yii Framework/1.1.21
优乐娱乐必赢亚洲www766net新万博manbetx官网十博体育投注官网