menu
#4873673 Typed property mohamed205\Cachio\DataInjector::$thread must not be accessed before initialization

Submitted by PocketMine-MP 4.0.0+dev

General information

Version: 4.0.0+dev
Git commit: 1898d4b4
Plugin involvement: Direct
Report date: 2021-04-07 20:17:05 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.4.16
Operating system: win
System banner: Windows NT LAPTOP-A545PJ8M 10.0 build 19043 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Typed property mohamed205\Cachio\DataInjector::$thread must not be accessed before initialization
File: plugins/Cachio/src/mohamed205/Cachio/DataInjector
Line: #34
Error level: Error
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	{
$this->thread->setOnlinePlayers($players);
}

/**
* @return InjectableThread|Thread
*/
public function getThread()
{
return $this->thread;
}

public function getCallables() : array
{
return $this->callables;
}

public function setThread(InjectableThread $thread)
{
$this->thread = $thread;
#0 plugins/Cachio/src/mohamed205/Cachio/DataInjector(82): mohamed205\Cachio\DataInjector->getThread()
#1 plugins/Cachio/src/mohamed205/Cachio/Main(36): mohamed205\Cachio\DataInjector->addDataSource(object [email protected]/Cachio/src/mohamed205/Cachio/Main#L36)
#2 pmsrc/src/plugin/PluginBase(96): mohamed205\Cachio\Main->onLoad()
#3 pmsrc/src/plugin/PluginManager(199): pocketmine\plugin\PluginBase->__construct(object FolderPluginLoader\FolderPluginLoader, object pocketmine\Server, object pocketmine\plugin\PluginDescription, string[66] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugin_data\Cachio, string[62] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\Cachio, object pocketmine\plugin\DiskResourceProvider)
#4 pmsrc/src/plugin/PluginManager(370): pocketmine\plugin\PluginManager->loadPlugin(string[62] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\Cachio, array[1])
#5 plugins/DevTools.phar/src/DevTools/DevTools(70): pocketmine\plugin\PluginManager->loadPlugins(string[56] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\, array[1])
#6 pmsrc/src/plugin/PluginBase(138): DevTools\DevTools->onEnable()
#7 pmsrc/src/plugin/PluginManager(399): pocketmine\plugin\PluginBase->onEnableStateChange(boolean 1)
#8 pmsrc/src/Server(1321): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools)
#9 pmsrc/src/Server(1025): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder)
#10 pmsrc/src/PocketMine(276): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[48] C:\Users\moham\Documents\code\pm4\PocketMine-MP\, string[56] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\)
#11 pmsrc/src/PocketMine(299): pocketmine\server()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies