menu
#7556916 Undefined array key "automatically"

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-22 22:53:42 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.19
JIT status: Not available
Operating system: linux
System banner: Linux ubuntu-s-2vcpu-4gb-intel-nyc1-01 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64

Error information

Warning: the HCF plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "automatically"
File: plugins/HCF_v1.0.0.phar/src/HCF/other/koth/KothFactory
Line: #75
Error level: ErrorException
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
            return $foundKoth;
}
return null;
}

/**
* @return void
*/
public static function auto_activated() : void {
if(!Loader::getInstance()->getConfig()->get("faction-config")["koth"]["automatically"]){
return;
}
TaskHelper::run(new class extends Task {

/**
* @return void
*/
public function onRun() : void {
$koth = KothFactory::getInstance()->getAll()[array_rand(KothFactory::getInstance()->getAll())];
if($koth->isEnable()){
#0 plugins/HCF_v1.0.0.phar/src/HCF/other/koth/KothFactory(75): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[35] Undefined array key "automatically", string[75] phar:///root/hcf/plugins/HCF_v1.0.0.phar/src/HCF/other/koth/KothFactory.php, int 75)
#1 plugins/HCF_v1.0.0.phar/src/HCF/other/koth/KothHandler(24): HCF\other\koth\KothFactory::auto_activated()
#2 plugins/HCF_v1.0.0.phar/src/HCF/other/DataLoader(27): HCF\other\koth\KothHandler->load()
#3 plugins/HCF_v1.0.0.phar/src/HCF/Loader(174): HCF\other\DataLoader->load()
#4 pmsrc/src/plugin/PluginBase(117): HCF\Loader->onEnable()
#5 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#6 pmsrc/src/Server(1421): pocketmine\plugin\PluginManager->enablePlugin(object HCF\Loader#22048)
#7 pmsrc/src/Server(1026): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21915)
#8 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[10] /root/hcf/, string[18] /root/hcf/plugins/)
#9 pmsrc/src/PocketMine(328): pocketmine\server()
#10 pmsrc(11): require(string[54] phar:///root/hcf/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show