任务添加了80多个,再添加就会报错,无法成功。各位大佬,这该怎么破
for($i=0;$i<=100;$i++){
$param = [
'method' => 'crontabCreate',
'args' => [
'title' => "任务[{$i}]",
'type' => 1,
'rule' => "*/30 * * * * *",
'target' => "version",
'status' => 1,
'remark' => "{$i}",
]
];
$resp = \yzh52521\Task\Client::instance()->request($param);
}
Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in xxxx\vendor\yzh52521\webman-task\src\Client.php:33
windows
"workerman/webman-framework": "^1.5.0"
"workerman/crontab": "^1.0"
"php-di/php-di": "6.3"
"psr/container": "1.1.1"
"guzzlehttp/guzzle": "^7.0"
"webman/think-orm": "^1.1"
"yzh52521/webman-task": "^1.48"