Details
Fatal error: Uncaught Error: Call to a member function getServer() on null in /home/alex/workspace/codes/swoft/vendor/swoft/task/src/Task.php:39
Stack trace:
Provide minimal script to reproduce the issue
public function taskTest(){
$result = Task::deliver('sync', 'deliverCo', ['p', 'p2'], Task::TYPE_ASYNC);
echo $result;
}
Details Fatal error: Uncaught Error: Call to a member function getServer() on null in /home/alex/workspace/codes/swoft/vendor/swoft/task/src/Task.php:39 Stack trace: