menu
#3744762 Argument 3 passed to czechpmdevs\multiworld\util\LanguageManager::getMsg() must be of the type array, string given

Submitted by PocketMine-MP 3.8.4

General information

Version: 3.8.4
Git commit: a42f68d3
Plugin involvement: Direct
Report date: 2020-02-11 21:28:11 +0000 UTC

System Information

PHP version: 7.2.5
Operating system: linux
System banner: Linux batrmc-sq 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64

Error information

Warning: the MultiWorld plugin was directly involved in this crash. Please contact the plugin author.
Message: Argument 3 passed to czechpmdevs\multiworld\util\LanguageManager::getMsg() must be of the type array, string given
File: /ssd/mu/servers/server2045/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/util/LanguageManager
Line: #81
Error level: TypeError
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
    }

/**
* @param CommandSender $sender
* @param string $msg
* @param array $params
*
* @return string $message
*/
public static function getMsg(CommandSender $sender, string $msg, array $params = []): string {
try {
$lang = self::$defaultLang;
if($sender instanceof Player && isset(self::$players[$sender->getName()])) {
$lang = self::$players[$sender->getName()];
}

if(empty(self::$languages[$lang]) || self::$forceDefaultLang) {
$lang = self::$defaultLang;
}

#0 /ssd/mu/servers/server2045/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/command/subcommand/RenameSubcommand(56): czechpmdevs\multiworld\util\LanguageManager::getMsg(object pocketmine\command\ConsoleCommandSender, string[20] rename-levelnotfound, string[7] nether1)
#1 /ssd/mu/servers/server2045/plugins/MultiWorld.phar/src/czechpmdevs/multiworld/command/MultiWorldCommand(117): czechpmdevs\multiworld\command\subcommand\RenameSubcommand->executeSub(object pocketmine\command\ConsoleCommandSender, array[2], string[6] rename)
#2 src/pocketmine/command/SimpleCommandMap(270): czechpmdevs\multiworld\command\MultiWorldCommand->execute(object pocketmine\command\ConsoleCommandSender, string[2] mw, array[2])
#3 src/pocketmine/Server(2019): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[21] mw rename nether1 zy2)
#4 src/pocketmine/Server(1606): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[21] mw rename nether1 zy2)
#5 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#6 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#7 src/pocketmine/Server(2338): pocketmine\snooze\SleeperHandler->sleepUntil(double 1581456491.6622)
#8 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1774): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[28] /ssd/mu/servers/server2045//, string[36] /ssd/mu/servers/server2045//plugins/)
#11 (1): require(string[71] phar:///ssd/mu/servers/server2045/pm.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show