menu
#3078038 Argument 1 passed to pocketmine\nbt\tag\ListTag::__construct() must be of the type string, int given

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Indirect
Report date: 2019-11-07 22:12:01 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux test1giorno 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64

Error information

Warning: the PerWorldInventory 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 1 passed to pocketmine\nbt\tag\ListTag::__construct() must be of the type string, int given
File: vendor/pocketmine/nbt/src/tag/ListTag
Line: #49
Error level: TypeError
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
	private $tagType;
/** @var \SplDoublyLinkedList|NamedTag[] */
private $value;

/**
* @param string $name
* @param NamedTag[] $value
* @param int $tagType
*/
public function __construct(string $name = "", array $value = [], int $tagType = NBT::TAG_End){
parent::__construct($name);

$this->tagType = $tagType;
$this->value = new \SplDoublyLinkedList();
foreach($value as $tag){
$this->push($tag);
}
}

/**
#0 plugins/PerWorldInventory_dev-1.phar/src/BlockHorizons/PerWorldInventory/PerWorldInventory(225): pocketmine\nbt\tag\ListTag->__construct(integer 1)
#1 plugins/PerWorldInventory_dev-1.phar/src/BlockHorizons/PerWorldInventory/listeners/EventListener(63): BlockHorizons\PerWorldInventory\PerWorldInventory->save(object pocketmine\Player, boolean 1)
#2 src/pocketmine/plugin/MethodEventExecutor(38): BlockHorizons\PerWorldInventory\listeners\EventListener->onQuit(object pocketmine\event\player\PlayerQuitEvent)
#3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object BlockHorizons\PerWorldInventory\listeners\EventListener, object pocketmine\event\player\PlayerQuitEvent)
#4 src/pocketmine/event/Event(97): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerQuitEvent)
#5 src/pocketmine/Player(3508): pocketmine\event\Event->call()
#6 src/pocketmine/network/mcpe/RakLibInterface(122): pocketmine\Player->close(object pocketmine\lang\TranslationContainer, string[7] timeout)
#7 vendor/pocketmine/raklib/src/server/ServerHandler(131): pocketmine\network\mcpe\RakLibInterface->closeSession(string[17] 151.50.1.46 46797, string[7] timeout)
#8 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#9 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#10 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#11 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#12 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1573164721.049)
#13 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#14 src/pocketmine/Server(1784): pocketmine\Server->start()
#15 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /root/, string[14] /root/plugins/)
#16 src/pocketmine/PocketMine(300): pocketmine\server()
#17 (1): require(string[61] phar:///root/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show