how i can fix this? PHP: [21:15:53] [Server thread/CRITICAL]: RuntimeException: "Dynamic field access on pocketmine\nbt\tag\CompoundTag is no longer supported" (EXCEPTION) in "vendor/pocketmine/nbt/src/tag/NoDynamicFieldsTrait" at line 29
Show you code how else will anyone give you some assistance? how are we supposed to know what line 29 is?
Bruhh, this 29 line in pocketmine folder and i heard that CompoundTag isn't available more.. but with what i can replace it?
There is a stack trace below your error. Look at the stack trace to see which lines caused the problem.
okay: PHP: [16:54:55] [Server thread/CRITICAL]: RuntimeException: "Dynamic field access on pocketmine\nbt\tag\CompoundTag is no longer supported" (EXCEPTION) in "vendor/pocketmine/nbt/src/tag/NoDynamicFieldsTrait" at line 29[16:54:55] [Server thread/DEBUG]: #0 vendor/pocketmine/nbt/src/tag/NoDynamicFieldsTrait(37): pocketmine\nbt\tag\CompoundTag->throw()[16:54:55] [Server thread/DEBUG]: #1 Testy/src/Testy/Base(423): pocketmine\nbt\tag\CompoundTag->__set(string petOwner, pocketmine\nbt\tag\StringTag object)[16:54:55] [Server thread/DEBUG]: #2 src/pocketmine/level/format/io/region/Anvil(70): Testy\Base->saveNBT()[16:54:55] [Server thread/DEBUG]: #3 src/pocketmine/level/format/io/region/McRegion(374): pocketmine\level\format\io\region\Anvil->nbtSerialize(pocketmine\level\format\Chunk object)[16:54:55] [Server thread/DEBUG]: #4 src/pocketmine/level/format/io/BaseLevelProvider(132): pocketmine\level\format\io\region\McRegion->writeChunk(pocketmine\level\format\Chunk object)[16:54:55] [Server thread/DEBUG]: #5 src/pocketmine/level/Level(2757): pocketmine\level\format\io\BaseLevelProvider->saveChunk(pocketmine\level\format\Chunk object)[16:54:55] [Server thread/DEBUG]: #6 src/pocketmine/level/Level(440): pocketmine\level\Level->unloadChunk(integer 28, integer 24, boolean )[16:54:55] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(576): pocketmine\level\Level->close()[16:54:55] [Server thread/DEBUG]: #8 src/pocketmine/Server(969): pocketmine\level\Level->unload(boolean 1)[16:54:55] [Server thread/DEBUG]: #9 src/pocketmine/Server(2032): pocketmine\Server->unloadLevel(pocketmine\level\Level object, boolean 1)[16:54:55] [Server thread/DEBUG]: #10 src/pocketmine/Server(2230): pocketmine\Server->forceShutdown()[16:54:55] [Server thread/DEBUG]: #11 src/pocketmine/Server(2165): pocketmine\Server->crashDump()[16:54:55] [Server thread/DEBUG]: #12 src/pocketmine/Server(1703): pocketmine\Server->exceptionHandler(RuntimeException object)[16:54:55] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(305): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Reem\Desktop\PocketMine-MP\, string C:\Users\Reem\Desktop\PocketMine-MP\plugins\)[16:54:55] [Server thread/DEBUG]: #14 C:/Users/Reem/Desktop/PocketMine-MP/PocketMine-MP.phar(1): require(string phar://C:/Users/Reem/Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php) i think here is the problem but how i fix it?: PHP: [423] $this->namedtag->petOwner = new StringTag("petOwner", $this->getPetOwnerName());[424] $this->namedtag->petName = new StringTag("petName", $this->getPetName());[425] $this->namedtag->speed = new FloatTag("speed", $this->getSpeed());[426] $this->namedtag->scale = new FloatTag("scale", $this->getStartingScale());[427] $this->namedtag->networkId = new IntTag("networkId", $this->getNetworkId());[428] $this->namedtag->petLevel = new IntTag("petLevel", $this->getPetLevel());[429] $this->namedtag->petLevelPoints = new IntTag("petLevelPoints", $this->getPetLevelPoints());[430] $this->namedtag->chested = new ByteTag("chested", (int) $this->isChested());
Okay i fixed it but now i have a new problem: PHP: [18:07:28] [Server thread/DEBUG]: #1 source/src/KHAV/MapPic/item/FilledMap(41): pocketmine\nbt\tag\CompoundTag->__isset(string mie_data)[18:07:28] [Server thread/DEBUG]: #2 source/src/KHAV/MapPic/item/FilledMap(22): KHAV\MapPic\item\FilledMap->updateMapData() and this is the code: PHP: [41] if (!$tag->mp_data) {[22] $this->updateMapData();
Nobody can help if you don't provide enough information (e.g. only the stack trace but5 not the error message). Also, we are not a 24/7 personal support team.