dresnite / skyblock

🦅 SkyBlock for PocketMine-MP
GNU Lesser General Public License v3.0
105 stars 53 forks source link

Also getting internal server error but a different error #242

Closed fridaystreet closed 2 years ago

fridaystreet commented 3 years ago

first error in the server log:

Server thread/CRITICAL TypeError: "str_replace(): Argument #2 ($replace) must be of type array|string, int given" (EXCEPTION) in "plugins/SkyBlock.phar/src/room17/SkyBlock/utils/message/MessageManager" at line 38

running latest download version from poggit and installing on pocketmine 1.17.40

any assistance greatly appreciated.

rest of the errors on the server before getting kicked out with internal server error from the game.

06.11 08:20:52 [Server] Server thread/CRITICAL #0 plugins/SkyBlock.phar/src/room17/SkyBlock/utils/message/MessageManager(38): str_replace(string[8] {amount}, integer 21, string[36] ..c___ ..fCommand Information ..c___)
06.11 08:20:52 [Server] Server thread/CRITICAL #1 plugins/SkyBlock.phar/src/room17/SkyBlock/session/Session(98): room17\SkyBlock\utils\message\MessageManager->getMessage(object room17\SkyBlock\utils\message\MessageContainer)
06.11 08:20:52 [Server] Server thread/CRITICAL #2 plugins/SkyBlock.phar/src/room17/SkyBlock/session/Session(143): room17\SkyBlock\session\Session->getMessage(object room17\SkyBlock\utils\message\MessageContainer)
06.11 08:20:52 [Server] Server thread/CRITICAL #3 plugins/SkyBlock.phar/src/room17/SkyBlock/command/presets/HelpCommand(46): room17\SkyBlock\session\Session->sendTranslatedMessage(object room17\SkyBlock\utils\message\MessageContainer)
06.11 08:20:52 [Server] Server thread/CRITICAL #4 plugins/SkyBlock.phar/src/room17/SkyBlock/command/IslandCommandMap(133): room17\SkyBlock\command\presets\HelpCommand->onCommand(object room17\SkyBlock\session\Session, array[0])
06.11 08:20:52 [Server] Server thread/CRITICAL #5 pmsrc/src/pocketmine/command/SimpleCommandMap(248): room17\SkyBlock\command\IslandCommandMap->execute(object pocketmine\Player, string[2] is, array[0])
06.11 08:20:52 [Server] Server thread/CRITICAL #6 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[7] is help)
06.11 08:20:52 [Server] Server thread/CRITICAL #7 pmsrc/src/pocketmine/Player(2351): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[7] is help)
06.11 08:20:52 [Server] Server thread/CRITICAL #8 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[8] /is help)
06.11 08:20:52 [Server] Server thread/CRITICAL #9 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
06.11 08:20:52 [Server] Server thread/CRITICAL #10 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
06.11 08:20:52 [Server] Server thread/CRITICAL #11 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
06.11 08:20:52 [Server] Server thread/CRITICAL #12 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
06.11 08:20:52 [Server] Server thread/CRITICAL #13 pmsrc/src/pocketmine/Player(3323): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
06.11 08:20:52 [Server] Server thread/CRITICAL #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
06.11 08:20:52 [Server] Server thread/CRITICAL #15 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 115.64.129.209 20421, object raklib\protocol\EncapsulatedPacket, integer 0)
06.11 08:20:52 [Server] Server thread/CRITICAL #16 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
06.11 08:20:52 [Server] Server thread/CRITICAL #17 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
06.11 08:20:52 [Server] Server thread/CRITICAL #18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
06.11 08:20:52 [Server] Server thread/CRITICAL #19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications()
06.11 08:20:52 [Server] Server thread/CRITICAL #20 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1636186852.2023)
06.11 08:20:52 [Server] Server thread/CRITICAL #21 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
06.11 08:20:52 [Server] Server thread/CRITICAL #22 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
06.11 08:20:52 [Server] Server thread/CRITICAL #23 pmsrc/src/pocketmine/PocketMine(314): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[48] /, string[56] /plugins/)
06.11 08:20:52 [Server] Server thread/CRITICAL #24 pmsrc/src/pocketmine/PocketMine(344): pocketmine\server()
06.11 08:20:52 [Server] Server thread/CRITICAL #25 pmsrc(11): require(string[108] phar:///PMMP-Latest-Stable.phar/s)