Warning (2): Missing argument 1 for BlogController::category() [APP/Controller/BlogController.php, line 124]Code Context }
public function category($name){
BlogController::category() - APP/Controller/BlogController.php, line 124
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110
Notice (8): Undefined variable: name [APP/Controller/BlogController.php, line 136]Code Context $result['pcontent'] = $content;
if($this->categoryExist($name)){
$id = (int) 0
$result = array(
'pcontent' => array(
'S6' => array(
'A1' => '7',
'A2' => '1',
'A3' => '2021-07-23 03:57:06',
'A4' => '1',
'A5' => '2021-10-04 16:18:50',
'A6' => '0',
'A7' => '0',
'A8' => '0',
'A9' => '0',
'A10' => '0',
'A11' => '解決方案',
'A12' => '/index.php/blog',
'A13' => '解決方案',
'A14' => '解決方案',
'A15' => '',
'A16' => '解決方案',
'A17' => '',
'A18' => '',
'A19' => '',
'A20' => '',
'A21' => '',
'A22' => '',
'A23' => '',
'A24' => '',
'A25' => '',
'A26' => null,
'A27' => null,
'A28' => null,
'A29' => null,
'A30' => null
)
)
)
$content = array(
'S6' => array(
'A1' => '7',
'A2' => '1',
'A3' => '2021-07-23 03:57:06',
'A4' => '1',
'A5' => '2021-10-04 16:18:50',
'A6' => '0',
'A7' => '0',
'A8' => '0',
'A9' => '0',
'A10' => '0',
'A11' => '解決方案',
'A12' => '/index.php/blog',
'A13' => '解決方案',
'A14' => '解決方案',
'A15' => '',
'A16' => '解決方案',
'A17' => '',
'A18' => '',
'A19' => '',
'A20' => '',
'A21' => '',
'A22' => '',
'A23' => '',
'A24' => '',
'A25' => '',
'A26' => null,
'A27' => null,
'A28' => null,
'A29' => null,
'A30' => null
)
)
BlogController::category() - APP/Controller/BlogController.php, line 136
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 110