menu
#3765123 Return value of PluginKernal\System\Threading\ThreadWorker::GetResults() must be an instance of Volatile, none returned

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: None
Report date: 2020-02-14 00:35:41 +0000 UTC

System Information

PHP version: 7.2.19
Operating system: win
System banner: Windows NT LAPTOP-L5HDADQQ 10.0 build 17763 (Windows 10) AMD64

Error information

Message: Return value of PluginKernal\System\Threading\ThreadWorker::GetResults() must be an instance of Volatile, none returned
File: C:/Users/coole/Documents/ZoidNite/Test Server/virions/PluginKernal/src/PluginKernal/System/Threading/ThreadWorker
Line: #51
Error level: TypeError
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
    
public function GetResults(): Volatile
{
/** @var WorkerResult $result */
foreach($this->_results as $id => $result)
{
($result->callback)(...$result->data);
unset($this->_results[$id]);
}
}

public function ClearResults(): void
{
$this->_results = [];
}

public function start(?int $options = PTHREADS_INHERIT_ALL)
{
parent::start($options);
$this->_running = true;
#0 C:/Users/coole/Documents/ZoidNite/Test Server/virions/PluginKernal/src/PluginKernal/System/SystemTicker(22): PluginKernal\System\Threading\ThreadWorker->GetResults()
#1 src/pocketmine/scheduler/TaskHandler(159): PluginKernal\System\SystemTicker->onRun(integer 1)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1)
#3 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#4 src/pocketmine/Server(2567): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#5 src/pocketmine/Server(2343): pocketmine\Server->tick()
#6 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1785): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[46] C:\Users\coole\Documents\ZoidNite\Test Server\, string[54] C:\Users\coole\Documents\ZoidNite\Test Server\plugins\)
#9 src/pocketmine/PocketMine(295): pocketmine\server()
#10 (1): require(string[101] phar://C:/Users/coole/Documents/ZoidNite/Test Server/PocketMine-MP.phar/src/pock)

Loaded Plugins

  • Show

Server Settings

  • Show