:(

Argument 1 passed to Home\Service\ZsnewsService::getCount() must be of the type array, string given, called in /opt/www/zsmj/Home/Home/Controller/ZsnewsController.class.php on line 118

错误位置

FILE: /opt/www/zsmj/Home/Home/Service/ZsnewsService.class.php  LINE: 13

TRACE

#0 /opt/www/zsmj/Home/Home/Controller/ZsnewsController.class.php(118): Home\Service\ZsnewsService->getCount(' 1=1 and Arti...')
#1 /opt/www/zsmj/Home/Home/Controller/ArticleController.class.php(344): Home\Controller\ZsnewsController->getArticlePagination('ArticleGrid', ' 1=1 and Arti...', '', 'acreatetime des...', 10)
#2 /opt/www/zsmj/Home/Home/Controller/ArticleController.class.php(244): Home\Controller\ArticleController->_searchList()
#3 [internal function]: Home\Controller\ArticleController->primarySearch()
#4 /opt/www/zsmj/ZsnewsPHP/Library/Think/App.class.php(155): ReflectionMethod->invoke(Object(Home\Controller\ArticleController))
#5 /opt/www/zsmj/ZsnewsPHP/Library/Think/App.class.php(193): Think\App::exec()
#6 /opt/www/zsmj/ZsnewsPHP/Library/Think/Think.class.php(120): Think\App::run()
#7 /opt/www/zsmj/ZsnewsPHP/ThinkPHP.php(96): Think\Think::start()
#8 /opt/www/zsmj/index.php(34): require('/opt/www/zsmj/Z...')
#9 {main}