menu
#3968408 Argument 2 passed to pocketmine\Server::dispatchCommand() must be of the type string, array given

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Indirect
Report date: 2020-03-22 19:22:40 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux sd-us1 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64

Error information

Warning: the SkyWarsForPE plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Argument 2 passed to pocketmine\Server::dispatchCommand() must be of the type string, array given
File: src/pocketmine/Server
Line: #2054
Error level: TypeError
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
	/**
* Executes a command from a CommandSender
*
* @param CommandSender $sender
* @param string $commandLine
* @param bool $internal
*
* @return bool
*/
public function dispatchCommand(CommandSender $sender, string $commandLine, bool $internal = false) : bool{
if(!$internal){
$ev = new CommandEvent($sender, $commandLine);
$ev->call();
if($ev->isCancelled()){
return false;
}

$commandLine = $ev->getCommand();
}

#0 plugins/SkyWarsForPE_dev-53 (1).phar/src/larryTheCoder/arena/runtime/DefaultGameAPI(301): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, array[2])
#1 plugins/SkyWarsForPE_dev-53 (1).phar/src/larryTheCoder/arena/runtime/DefaultGameAPI(238): larryTheCoder\arena\runtime\DefaultGameAPI->broadcastResult()
#2 plugins/SkyWarsForPE_dev-53 (1).phar/src/larryTheCoder/arena/Arena(121): larryTheCoder\arena\runtime\DefaultGameAPI->stopArena()
#3 plugins/SkyWarsForPE_dev-53 (1).phar/src/larryTheCoder/arena/runtime/tasks/ArenaGameTick(195): larryTheCoder\arena\Arena->stopGame()
#4 src/pocketmine/scheduler/TaskHandler(169): larryTheCoder\arena\runtime\tasks\ArenaGameTick->onRun(integer 127599)
#5 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 127599)
#6 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 127599)
#7 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 127599)
#8 src/pocketmine/Server(2403): pocketmine\Server->tick()
#9 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1811): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[45] /home/minecraft/multicraft/servers/server325/, string[53] /home/minecraft/multicraft/servers/server325/plugins/)
#12 src/pocketmine/PocketMine(297): pocketmine\server()
#13 (1): require(string[99] phar:///home/minecraft/multicraft/servers/server325/customphar73.phar/src/pocket)

Loaded Plugins

  • Show

Server Settings

  • Show