menu
#4218811 Argument 2 passed to pocketmine\nbt\tag\CompoundTag::setString() must be of the type string, array given

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Indirect
Report date: 2020-05-22 21:28:28 +0000 UTC

System Information

PHP version: 7.3.16
Operating system: linux
System banner: Linux 05b90f66-a39e-4b49-b3be-cfd5bb907dd3 5.3.0-1018-gcp #19~18.04.1-Ubuntu SMP Tue Apr 14 12:49:45 UTC 2020 x86_64

Error information

Warning: the MysteryCrate 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\nbt\tag\CompoundTag::setString() must be of the type string, array given
File: vendor/pocketmine/nbt/src/tag/CompoundTag
Line: #374
Error level: TypeError
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
	public function setByteArray(string $name, string $value, bool $force = false) : void{
$this->setTag(new ByteArrayTag($name, $value), $force);
}

/**
* @param string $name
* @param string $value
* @param bool $force
*/
public function setString(string $name, string $value, bool $force = false) : void{
$this->setTag(new StringTag($name, $value), $force);
}

/**
* @param string $name
* @param int[] $value
* @param bool $force
*/
public function setIntArray(string $name, array $value, bool $force = false) : void{
$this->setTag(new IntArrayTag($name, $value), $force);
#0 plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent(164): pocketmine\nbt\tag\CompoundTag->setString(string[1] 2, array[5])
#1 plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent(209): JackMD\MysteryCrate\UpdaterEvent->getReward()
#2 src/pocketmine/scheduler/TaskHandler(134): JackMD\MysteryCrate\UpdaterEvent->onRun(integer 218520)
#3 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 218520)
#4 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 218520)
#5 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 218520)
#6 src/pocketmine/Server(2143): pocketmine\Server->tick()
#7 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1584): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#10 src/pocketmine/PocketMine(295): pocketmine\server()
#11 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show