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

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-23 06:20:21 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 20 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 3762c20a-cbdb-49ac-b2d6-d7b1dbae8660 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 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 (3).phar/src/_64FF00/PurePerms/Commands/PLPerms
Line: #95
Error level: Error
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
        }
else
{
$pageNumber = $args[1];
}

$sender->sendMessage(TextFormat::GREEN . PurePerms::MAIN_PREFIX . ' ' . $this->plugin->getMessage("cmds.plperms.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(205): _64FF00\PurePerms\Commands\PLPerms->execute(object pocketmine\console\ConsoleCommandSender#109839, string[7] plperms, array[1])
#1 pmsrc/src/Server(1448): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\console\ConsoleCommandSender#109839, string[18] plperms CustomWing)
#2 pmsrc/src/Server(1059): pocketmine\Server->dispatchCommand(object pocketmine\console\ConsoleCommandSender#109839, string[18] plperms CustomWing)
#3 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#4 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#5 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1663914021.2465)
#6 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#7 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#8 pmsrc/src/PocketMine(328): pocketmine\server()
#9 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show