Built locally. SCHOOLCMS. After modifying the article classification navigation in the background, the following error message appears when clicking on the homepage:
The function LayoutArticleDataHandle() has too few parameters, in line 53 of C:\Users\Administrator\Desktop\2\Application\Home\Controller\ChannelController. 1 parameter passed in class.phpError location
FILE: C:\Users\Administrator\Desktop\2\Application\Common\Common\function.php LINE: 61
Trace
#0 C:\Users\Administrator\Desktop\2\Application\Home\Controller\ChannelController.class.php(53): LayoutArticleDataHandle(Array) #1 [Internal Function]: Home\Controller\ChannelController->Invoke()#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}