Closed MrBlasyMSK closed 2 years ago
BetterBan Version: 1.4.2 (dev96) Server-OS: Linux PHP Version: 8.0.16 PocketMine-MP Version: 4.2.3
PocketMine-MP Crash Dump Wed Mar 16 12:09:05 UTC 2022 Error: include(phar:///home/container/plugins/BetterBan_dev-95.phar/src/supercrafter333/BetterBan/Forms/BBDefaultForms.php): Failed to open stream: phar error: Cannot open phar archive "/home/container/plugins/BetterBan_dev-95.phar" for reading File: pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader Line: 93 Type: ErrorException A PLUGIN WAS INVOLVED IN THIS CRASH BAD PLUGIN: BetterBan Code: [84] }, true, $prepend); [85] } [86] [87] /** [88] * Called when there is a class to load [89] */ [90] public function loadClass(string $name) : bool{ [91] $path = $this->findClass($name); [92] if($path !== null){ [93] include($path); [94] if(!class_exists($name, false) and !interface_exists($name, false) and !trait_exists($name, false)){ [95] return false; [96] } [97] [98] if(method_exists($name, "onClassLoaded") and (new ReflectionClass($name))->getMethod("onClassLoaded")->isStatic()){ [99] $name::onClassLoaded(); [100] } [101] [102] return true; [103] } Backtrace: #0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(93): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[237] include(phar:///home/container/plugins/BetterBan_dev-95.phar/src/supercrafter333, string[95] phar:///home/container/PocketMine-MP.phar/vendor/pocketmine/classloader/src/Base, integer 93) #1 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(93): include() #2 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(83): BaseClassLoader->loadClass(string[46] supercrafter333\BetterBan\Forms\BBDefaultForms) #3 plugins/BetterBan_dev-95.phar/src/supercrafter333/BetterBan/Commands/BanCommand(57): BaseClassLoader->{closure}(string[46] supercrafter333\BetterBan\Forms\BBDefaultForms) #4 pmsrc/src/command/SimpleCommandMap(220): supercrafter333\BetterBan\Commands\BanCommand->execute(object pocketmine\player\Player#571593, string[3] ban, array[0]) #5 pmsrc/src/Server(1408): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#571593, string[3] ban) #6 pmsrc/src/player/Player(1383): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#571593, string[3] ban) #7 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[4] /ban) #8 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#601695) #9 pmsrc/src/network/mcpe/NetworkSession(397): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#593550) #10 pmsrc/src/network/mcpe/NetworkSession(360): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#601695, string[25] M./ban. O}..$>..x..s.....) #11 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[29] ..e.OJ.cP..}vM.n...7..s..20..) #12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[38] .......g.wZ.......w.G...Y.7..g....h.c.) #13 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#570920) #14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}() #15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() #16 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1647432545.1572) #17 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor() #18 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/) #19 pmsrc/src/PocketMine(327): pocketmine\server() #20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
[I've done...] [1. Write /ban] [2. Crash]
X
My mistake, now it works, I think I forgot to restart when I put the plugin.
Bug: [Crash at /ban]
Informations
BetterBan Version: 1.4.2 (dev96) Server-OS: Linux PHP Version: 8.0.16 PocketMine-MP Version: 4.2.3
Error
readjustment instructions
[I've done...] [1. Write /ban] [2. Crash]
fix suggestions [optional]
X