menu
#3765098 Invalid argument supplied for foreach()

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:32:09 +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: Invalid argument supplied for foreach()
File: C:/Users/coole/Documents/ZoidNite/Test Server/virions/PluginKernal/src/PluginKernal/System/SystemTicker
Line: #24
Error level: ErrorException
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{

/**
* @inheritDoc
*/
public function onRun(int $currentTick)
{
$results = BaseLoader::GetWorker()->GetResults();
/** @var WorkerResult $result */
foreach ($results as $result)
{
($result->callback)(...$result->data);
}
BaseLoader::GetWorker()->ClearResults();
}
}
#0 C:/Users/coole/Documents/ZoidNite/Test Server/virions/PluginKernal/src/PluginKernal/System/SystemTicker(24): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[39] Invalid argument supplied for foreach(), string[107] C:\Users\coole\Documents\ZoidNite\Test Server\virions\PluginKernal\src\PluginKer, integer 24, array[2])
#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