menu
#6720873 Serialization of pocketmine\entity\effect\PoisonEffect objects is not allowed

Submitted by PocketMine-MP 4.3.2

General information

Version: 4.3.2
Git commit: 755ca1af
Plugin involvement: Indirect
Report date: 2022-05-14 11:27:04 +0000 UTC
Server uptime: 0 days 0 hours 4 minutes 2 seconds

System Information

PHP version: 8.0.17
Operating system: linux
System banner: Linux 151-248-125-231.cloudvps.regruhosting.ru 4.15.0-173-generic #182-Ubuntu SMP Fri Mar 18 15:53:46 UTC 2022 x86_64

Error information

Warning: the LimitCreative plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Serialization of pocketmine\entity\effect\PoisonEffect objects is not allowed
File: pmsrc/src/utils/NotSerializable
Line: #30
Error level: LogicException
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

declare(strict_types=1);

namespace pocketmine\utils;

trait NotSerializable{

/** @return mixed[] */
final public function __serialize() : array{
throw new \LogicException("Serialization of " . static::class . " objects is not allowed");
}

/** @param mixed[] $data */
final public function __unserialize(array $data) : void{
throw new \LogicException("Unserialization of " . static::class . " objects is not allowed");
}
}
#0 (): pocketmine\entity\effect\Effect->__serialize()
#1 plugins/NewLimit.phar/src/ErikPDev/LimitCreative/LimitCreative(142): serialize(array[5])
#2 plugins/NewLimit.phar/src/ErikPDev/LimitCreative/LimitCreative(164): ErikPDev\LimitCreative\LimitCreative::saveInventory(object pocketmine\player\Player#350539, string[8] survival)
#3 pmsrc/src/event/RegisteredListener(75): ErikPDev\LimitCreative\LimitCreative->ErikPDev\LimitCreative\{closure}(object pocketmine\event\player\PlayerGameModeChangeEvent#234774)
#4 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerGameModeChangeEvent#234774)
#5 pmsrc/src/player/Player(1052): pocketmine\event\Event->call()
#6 plugins/Npc/src/Nikson/Npc/Main(7440): pocketmine\player\Player->setGamemode(object pocketmine\player\GameMode#23)
#7 pmsrc/src/command/PluginCommand(54): Nikson\Npc\Main->onCommand(object pocketmine\player\Player#350539, object pocketmine\command\PluginCommand#28262, string[2] gm, array[0])
#8 pmsrc/src/command/SimpleCommandMap(220): pocketmine\command\PluginCommand->execute(object pocketmine\player\Player#350539, string[2] gm, array[0])
#9 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#350539, string[2] gm)
#10 pmsrc/src/player/Player(1402): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#350539, string[2] gm)
#11 pmsrc/src/network/mcpe/handler/InGamePacketHandler(754): pocketmine\player\Player->chat(string[3] /gm)
#12 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(51): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#176701)
#13 pmsrc/src/network/mcpe/NetworkSession(398): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object CLADevs\VanillaX\network\InGamePacketHandlerX#375222)
#14 pmsrc/src/network/mcpe/NetworkSession(361): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#176701, string[24] M./gm.uC Z.zG...j./[|...)
#15 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[27] ..e.O.e(uV..]..sfk..~t.t...)
#16 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 19, string[36] .....gda......{p.)...i.vc.,:2.......)
#17 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#111576)
#18 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#19 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#20 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1652527624.767)
#21 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#22 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[10] /root/pm4/, string[18] /root/pm4/plugins/)
#23 pmsrc/src/PocketMine(327): pocketmine\server()
#24 pmsrc(11): require(string[54] phar:///root/pm4/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show