menu
#7864001 Undefined array key "Molly"

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 20:35:30 +0000 UTC
Server uptime: 0 days 21 hours 53 minutes 26 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux 94abb632-a53a-4439-ba8b-3a2054a2ba40 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2022 x86_64

Error information

Warning: the SimpleFaction plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined array key "Molly"
File: plugins/Factions180.phar/src/Ayzrix/SimpleFaction/API/FactionsAPI
Line: #638
Error level: ErrorException
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
        unset(self::$AlliesinvitationTimeout[$faction]);
}

/**
* @param string $faction1
* @param string $faction2
* @return bool
*/
public static function areAllies(string $faction1, string $faction2): bool {
return in_array($faction2, self::$faction[$faction1]["allies"]);
}

/**
* @param string $faction1
* @param string $faction2
*/
public static function removeAllies(string $faction1, string $faction2): void {
foreach (self::getAllPlayers($faction1) as $player) {
if (Server::getInstance()->getPlayerExact($player)) {
$player = Server::getInstance()->getPlayerExact($player);
#0 plugins/Factions180.phar/src/Ayzrix/SimpleFaction/API/FactionsAPI(638): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 2, string[27] Undefined array key "Molly", string[92] phar:///home/container/plugins/Factions180.phar/src/Ayzrix/SimpleFaction/API/Fac, int 638)
#1 plugins/Factions180.phar/src/Ayzrix/SimpleFaction/Events/Listener/EntityListener(32): Ayzrix\SimpleFaction\API\FactionsAPI::areAllies(string[5] Molly, string[9] SupahKool)
#2 pmsrc/src/event/RegisteredListener(60): Ayzrix\SimpleFaction\Events\Listener\EntityListener->EntityDamageByEntity(object pocketmine\event\entity\EntityDamageByEntityEvent#393573)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageByEntityEvent#393573)
#4 pmsrc/src/entity/Entity(529): pocketmine\event\Event->call()
#5 pmsrc/src/entity/Living(520): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#393573)
#6 pmsrc/src/player/Player(2362): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#393573)
#7 pmsrc/src/player/Player(1768): pocketmine\player\Player->attack(object pocketmine\event\entity\EntityDamageByEntityEvent#393573)
#8 pmsrc/src/network/mcpe/handler/InGamePacketHandler(532): pocketmine\player\Player->attackEntity(object pocketmine\player\Player#123977)
#9 pmsrc/src/network/mcpe/handler/InGamePacketHandler(322): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemOnEntityTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData#403222)
#10 pmsrc/vendor/pocketmine/bedrock-protocol/src/InventoryTransactionPacket(94): pocketmine\network\mcpe\handler\InGamePacketHandler->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#219713)
#11 pmsrc/src/network/mcpe/NetworkSession(410): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#292573)
#12 pmsrc/src/network/mcpe/NetworkSession(373): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket#219713, string[170] ...........................display...Name!...l..bdiscord.gg/..l..dsupahkool ....)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[173] c.a.5...L*Uk?.<..........Q 73/5.(1... '.2...a....3......?X........F....v...b.:..)
#14 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 395, string[182] ..?Mg...M.;.v...:..;......1 /....g..G...|._.d.'.Y7..`:mD.1].KV:..I....9..d..PXf.)
#15 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#35191)
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#17 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#18 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1669322130.735)
#19 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#20 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#21 pmsrc/src/PocketMine(328): pocketmine\server()
#22 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show