menu
#4873652 Typed property mohamed205\Cachio\DataInjector::$callables 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 19:50:14 +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::$callables must not be accessed before initialization
File: plugins/Cachio/src/mohamed205/Cachio/DataInjector
Line: #38
Error level: Error
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
	 * @return InjectableThread|Thread
*/
public function getThread()
{
return $this->thread;
}

public function addPlayerDataFetcher(callable $callable)
{
$this->callables->attach((object)$callable);
}

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

public function setThread(InjectableThread $thread)
{
$this->thread = $thread;
#0 plugins/Cachio/src/mohamed205/Cachio/Main(39): mohamed205\Cachio\DataInjector->addPlayerDataFetcher(object Closure)
#1 pmsrc/src/plugin/PluginBase(96): mohamed205\Cachio\Main->onLoad()
#2 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)
#3 pmsrc/src/plugin/PluginManager(370): pocketmine\plugin\PluginManager->loadPlugin(string[62] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\Cachio, array[1])
#4 plugins/DevTools.phar/src/DevTools/DevTools(70): pocketmine\plugin\PluginManager->loadPlugins(string[56] C:\Users\moham\Documents\code\pm4\PocketMine-MP\plugins\, array[1])
#5 pmsrc/src/plugin/PluginBase(138): DevTools\DevTools->onEnable()
#6 pmsrc/src/plugin/PluginManager(399): pocketmine\plugin\PluginBase->onEnableStateChange(boolean 1)
#7 pmsrc/src/Server(1321): pocketmine\plugin\PluginManager->enablePlugin(object DevTools\DevTools)
#8 pmsrc/src/Server(1025): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder)
#9 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\)
#10 pmsrc/src/PocketMine(299): pocketmine\server()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies