:(

TypeError: implode(): Argument #1 ($array) must be of type array, string given in /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php:115 Stack trace: #0 /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php(115): implode() #1 [internal function]: ProductAction->cat() #2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke() #3 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec() #4 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run() #5 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start() #6 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...') #7 /www/wwwroot/www.terbly.com/index.php(46): require('...') #8 {main}

错误位置

FILE: /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php  LINE: 252

TRACE

[26-11-17 15:18:11] /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php (252) halt(TypeError: implode(): Argument #1 ($array) must be of type array, string given in /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php:115
Stack trace:
#0 /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php(115): implode()
#1 [internal function]: ProductAction->cat()
#2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke()
#3 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec()
#4 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run()
#5 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start()
#6 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...')
#7 /www/wwwroot/www.terbly.com/index.php(46): require('...')
#8 {main})
[26-11-17 15:18:11] () Think::appException(TypeError: implode(): Argument #1 ($array) must be of type array, string given in /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php:115
Stack trace:
#0 /www/wwwroot/www.terbly.com/Home/Lib/Action/ProductAction.class.php(115): implode()
#1 [internal function]: ProductAction->cat()
#2 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(171): ReflectionMethod->invoke()
#3 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/App.class.php(207): App::exec()
#4 /www/wwwroot/www.terbly.com/ThinkPHP/Lib/Core/Think.class.php(39): App::run()
#5 /www/wwwroot/www.terbly.com/ThinkPHP/Common/runtime.php(242): Think::start()
#6 /www/wwwroot/www.terbly.com/ThinkPHP/ThinkPHP.php(33): require('...')
#7 /www/wwwroot/www.terbly.com/index.php(46): require('...')
#8 {main})