menu
#7557394 Class "Jos3\Commands\UnBanCommand" not found

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-23 01:46:47 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 5dcae496-f322-423e-94eb-b24985253453 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64

Error information

Warning: the BanSystem plugin was directly involved in this crash. Please contact the plugin author.
Message: Class "Jos3\Commands\UnBanCommand" not found
File: plugins/BanSystem (1).phar/src/Jos3/Utils/Register
Line: #37
Error level: Error
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
        foreach ($perms as $perm){
$manager->addPermission(new Permission($perm));
$manager->getPermission(DefaultPermissions::ROOT_OPERATOR)->addChild($perm, true);
}
}

private static function registerCommands(): void {
$cmds = [
new BanCommand(),
new unBanCommand(),
new IpBanCommand(),
new UnipbanCommand(),
new BanList(),
new TbanCommand()
];
foreach ($cmds as $cmd){
BanSystem::getInstance()->getServer()->getCommandMap()->register("StaffTools",$cmd);
}
}

#0 plugins/BanSystem (1).phar/src/Jos3/Utils/Register(20): Jos3\Utils\Register::registerCommands()
#1 plugins/BanSystem (1).phar/src/Jos3/BanSystem(19): Jos3\Utils\Register::registerAll()
#2 pmsrc/src/plugin/PluginBase(117): Jos3\BanSystem->onEnable()
#3 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1421): pocketmine\plugin\PluginManager->enablePlugin(object Jos3\BanSystem#22403)
#5 pmsrc/src/Server(1026): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21939)
#6 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(328): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show