menu
#5777475 Call to a member function getName() on array

Submitted by PocketMine-MP 4.0.5

General information

Version: 4.0.5
Git commit: e7d17eb4
Plugin involvement: Direct
Report date: 2022-01-14 23:26:29 +0000 UTC
Server uptime: 0 days 0 hours 32 minutes 30 seconds

System Information

PHP version: 8.0.13
Operating system: linux
System banner: Linux f6476d8a-9a95-4be1-962a-81fbcb7c8850 5.4.143-1-pve #1 SMP PVE 5.4.143-1 (Tue, 28 Sep 2021 09:10:37 +0200) x86_64

Error information

Warning: the PurePerms plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getName() on array
File: plugins/PurePerms (1).phar/src/_64FF00/PurePerms/cmd/FPerms
Line: #107
Error level: Error
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
        else 
{
$pageNumber = $args[1];
}

$sender->sendMessage(TextFormat::GREEN . PurePerms::MAIN_PREFIX . ' ' . $this->plugin->getMessage("cmds.fperms.messages.plugin_perms_list", ($plugin instanceof PluginBase) ? $plugin->getName(): 'PocketMine-MP', $pageNumber, $maxPageNumber));

foreach($chunkedPermissions[$pageNumber - 1] as $permission)
{
$sender->sendMessage(TextFormat::GREEN . PurePerms::MAIN_PREFIX . ' - ' . $permission->getName());
}

return true;
}

public function getPlugin() : Plugin
{
return $this->plugin;
}
}
#0 pmsrc/src/command/SimpleCommandMap(220): _64FF00\PurePerms\cmd\FPerms->execute(object pocketmine\player\Player#94245, string[6] fperms, array[1])
#1 pmsrc/src/Server(1406): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#94245, string[19] fperms BuilderTools)
#2 pmsrc/src/player/Player(1342): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#94245, string[19] fperms BuilderTools)
#3 pmsrc/src/network/mcpe/handler/InGamePacketHandler(696): pocketmine\player\Player->chat(string[20] /fperms BuilderTools)
#4 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(60): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#125590)
#5 pmsrc/src/network/mcpe/NetworkSession(395): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#125269)
#6 pmsrc/src/network/mcpe/NetworkSession(358): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#125590, string[41] M./fperms BuilderTools.GB.K[.^..^.5......)
#7 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[45] ....O+H-.-Vp*..II-....)fpw...~..vf.].o...00..)
#8 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 3, string[54] .1.D.Te...WeW[uJ|C.}..vY=K......S....+q.E.O...X0.....b)
#9 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#24876)
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#12 pmsrc/src/Server(1657): pocketmine\snooze\SleeperHandler->sleepUntil(double 1642202789.6559)
#13 pmsrc/src/Server(1044): pocketmine\Server->tickProcessor()
#14 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#15 pmsrc/src/PocketMine(326): pocketmine\server()
#16 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show