menu
#7304354 Coffee\PvPBox\commands\ranked\EnderChest::__construct(): Argument #4 ($aliases) must be of type array, string given, called in /home/coffee/network/servers/pvpbox/plugins/PvPBox/src/Coffee/PvPBox/Main.php on line 192

Submitted by PocketMine-MP 4.6.1

General information

Version: 4.6.1
Git commit: b20e0453
Plugin involvement: Direct
Report date: 2022-08-05 23:28:35 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.0.19
Operating system: linux
System banner: Linux chillgames 5.10.0-16-amd64 #1 SMP Debian 5.10.127-2 (2022-07-23) x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Coffee\PvPBox\commands\ranked\EnderChest::__construct(): Argument #4 ($aliases) must be of type array, string given, called in /home/coffee/network/servers/pvpbox/plugins/PvPBox/src/Coffee/PvPBox/Main.php on line 192
File: plugins/PvPBox/src/Coffee/PvPBox/commands/ranked/EnderChest
Line: #25
Error level: TypeError
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use pocketmine\math\Vector3;
use pocketmine\network\mcpe\convert\RuntimeBlockMapping;
use pocketmine\network\mcpe\protocol\types\BlockPosition;
use pocketmine\network\mcpe\protocol\UpdateBlockPacket;
use pocketmine\player\Player;
use pocketmine\plugin\Plugin;

class EnderChest extends BaseCommand {

public function __construct(Plugin $plugin, string $name, string $description = "", array $aliases = [])
{
parent::__construct($plugin, $name, $description, $aliases);
$this->setPermission("use.enderchest");
$this->setPermissionMessage(Manager::ALERT . "Vous n'avez pas la permission d'utiliser cette commande.");
}

protected function prepare(): void
{
// TODO: Implement prepare() method.
}
#0 plugins/PvPBox/src/Coffee/PvPBox/Main(192): Coffee\PvPBox\commands\ranked\EnderChest->__construct(object Coffee\PvPBox\Main#25964, string[10] enderchest, string[38] Permet d'ouvrir son coffre de l'ender., string[0] , array[1])
#1 plugins/PvPBox/src/Coffee/PvPBox/Main(115): Coffee\PvPBox\Main->loadCommands()
#2 pmsrc/src/plugin/PluginBase(75): Coffee\PvPBox\Main->onLoad()
#3 pmsrc/src/plugin/PluginManager(213): pocketmine\plugin\PluginBase->__construct(object DevTools\FolderPluginLoader#25845, object pocketmine\Server#10, object pocketmine\plugin\PluginDescription#25824, string[54] /home/coffee/network/servers/pvpbox/plugin_data/PvPBox, string[50] /home/coffee/network/servers/pvpbox/plugins/PvPBox, object pocketmine\plugin\DiskResourceProvider#25965)
#4 pmsrc/src/plugin/PluginManager(362): pocketmine\plugin\PluginManager->internalLoadPlugin(string[50] /home/coffee/network/servers/pvpbox/plugins/PvPBox, object DevTools\FolderPluginLoader#25845, object pocketmine\plugin\PluginDescription#25824)
#5 pmsrc/src/Server(1007): pocketmine\plugin\PluginManager->loadPlugins(string[44] /home/coffee/network/servers/pvpbox/plugins/, int 0)
#6 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[36] /home/coffee/network/servers/pvpbox/, string[44] /home/coffee/network/servers/pvpbox/plugins/)
#7 pmsrc/src/PocketMine(327): pocketmine\server()
#8 pmsrc(11): require(string[80] phar:///home/coffee/network/servers/pvpbox/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show