Open chisi21 opened 3 years ago
Please provide a full log
Please provide a full log
[18:31:58] [Server thread/CRITICAL]: ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78 [18:31:58] [Server thread/CRITICAL]: #0 plugins/MyEntities.phar/src/Benda95280/MyEntities/commands/EntityCommand(78): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[51] Trying to access array offset on value of type bool, string[127] phar://C:/Users/Galih/Desktop/PocketMine-MP-3.12.6/plugins/MyEntities.phar/src/B, integer 78, array[9]) [18:31:58] [Server thread/CRITICAL]: #1 plugins/MyEntities.phar/src/Benda95280/MyEntities/libs/CortexPE/Commando/BaseCommand(120): Benda95280\MyEntities\commands\EntityCommand->onRun(object pocketmine\Player, string[3] mye, array[1]) [18:31:58] [Server thread/CRITICAL]: #2 pmsrc/src/pocketmine/command/SimpleCommandMap(248): Benda95280\MyEntities\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\Player, string[3] mye, array[1]) [18:31:58] [Server thread/CRITICAL]: #3 pmsrc/src/pocketmine/Server(1809): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[17] mye entity calice) [18:31:58] [Server thread/CRITICAL]: #4 pmsrc/src/pocketmine/Player(2353): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[17] mye entity calice) [18:31:58] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string[18] /mye entity calice) [18:31:58] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [18:31:58] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [18:31:58] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/network/mcpe/protocol/BatchPacket(130): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket) [18:31:58] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) [18:31:58] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/Player(3313): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [18:31:58] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) [18:31:58] [Server thread/CRITICAL]: #12 pmsrc/vendor/pocketmine/raklib/src/server/ServerHandler(95): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 192.168.1.9 52829, object raklib\protocol\EncapsulatedPacket, integer 0) [18:31:58] [Server thread/CRITICAL]: #13 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() [18:31:58] [Server thread/CRITICAL]: #14 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() [18:31:58] [Server thread/CRITICAL]: #15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(113): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() [18:31:58] [Server thread/CRITICAL]: #16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(75): pocketmine\snooze\SleeperHandler->processNotifications() [18:31:58] [Server thread/CRITICAL]: #17 pmsrc/src/pocketmine/Server(2155): pocketmine\snooze\SleeperHandler->sleepUntil(double 1625052718.9084) [18:31:58] [Server thread/CRITICAL]: #18 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor() [18:31:58] [Server thread/CRITICAL]: #19 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start() [18:31:58] [Server thread/CRITICAL]: #20 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[44] C:\Users\chisi22\Desktop\PocketMine-MP-3.12.6\, string[52] C:\Users\chisi22\Desktop\PocketMine-MP-3.12.6\plugins) [18:31:58] [Server thread/CRITICAL]: #21 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server() [18:31:58] [Server thread/CRITICAL]: #22 pmsrc(11): require(string[99] phar://C:/Users/chisi22/Desktop/PocketMine-MP-3.12.6/PocketMine-MP.phar/src/pocket)
sorry for slow respon
Hello, i'm sorry i'm busy on other project on my side, and working on a custom plugin based on this one since few months. I've been able to fix it, but do not remember how.
ErrorException: "Trying to access array offset on value of type bool" (EXCEPTION) in "plugins/MyEntities.phar/src/Benda95280/MyEntities/commands/EntityCommand" at line 78
pmmp 3.21.0 php 7.4