本地搭建的。 SCHOOLCMS。後台修改文章分類導覽後,首頁點選出現以下錯誤提示:
函數LayoutArticleDataHandle()的參數太少,在第53行的C:\ Users \ Administrator \ Desktop \ 2 \ Application \ Home \ Controller \ ChannelController. class.php中傳遞了1個參數錯誤位置
FILE:C:\ Users \ Administrator \ Desktop \ 2 \ Application \ Common \ Common \ function.php LINE:61
追蹤
#0 C:\ Users \ Administrator \ Desktop \ 2 \ Application \ Home \ Controller \ ChannelController.class.php(53):LayoutArticleDataHandle(Array)#1 [內部函數]: Home \ Controller \ ChannelController-> Index()# 2 C:\ Users \ Administrator \ Desktop \ 2 \ ThinkPHP \ Library \ Think \ App.class.php(173):ReflectionMethod-> invoke(Object(Home \ Controller \ ChannelController))#3 C:\ Users \ Administrator \ Desktop \ 2 \ ThinkPHP \ Library \ Think \ App.class.php(110):Think \ App :: invokeAction(Object(Home \ Controller \ ChannelController),'Index ')#4 C:\ Users \ Administrator \ Desktop \ 2 \ ThinkPHP \ Library \ Think \ App.class.php(204):Think \ App :: exec()#5 C:\ Users \ Administrator \ Desktop \ 2 \ ThinkPHP \ Library \ Think \ Think.class.php( 120):Think \ App :: run()#6 C:\ Users \ Administrator \ Desktop \ 2 \ ThinkPHP \ ThinkPHP.php(97):Think \ Think : : start()#7 C:\ Users \ Administrator \ Desktop \ 2 \ index.php(18): require('C:\\ Users \\ Admini ...')#8 {main}