menu
#7556580 Class Ethalia\Entities\EthaliaPlayer does not exist or is not a class

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Indirect
Report date: 2022-09-22 20:51:22 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 0 seconds

System Information

PHP version: 8.0.22
JIT status: Disabled
Operating system: linux
System banner: Linux 74006e70-005a-48fc-b872-ddb88bc52ec1 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64

Error information

Warning: a plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Class Ethalia\Entities\EthaliaPlayer does not exist or is not a class
File: pmsrc/src/utils/Utils
Line: #526
Error level: InvalidArgumentException
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
	public static function testValidInstance(string $className, string $baseName) : void{
$baseInterface = false;
if(!class_exists($baseName)){
if(!interface_exists($baseName)){
throw new \InvalidArgumentException("Base class $baseName does not exist");
}
$baseInterface = true;
}
if(!class_exists($className)){
throw new \InvalidArgumentException("Class $className does not exist or is not a class");
}
if(!is_a($className, $baseName, true)){
throw new \InvalidArgumentException("Class $className does not " . ($baseInterface ? "implement" : "extend") . " $baseName");
}
$class = new \ReflectionClass($className);
if(!$class->isInstantiable()){
throw new \InvalidArgumentException("Class $className cannot be constructed");
}
}

#0 pmsrc/src/event/player/PlayerCreationEvent(89): pocketmine\utils\Utils::testValidInstance(string[30] Ethalia\Entities\EthaliaPlayer, string[24] pocketmine\player\Player)
#1 plugins/NimirisCoreFaction/src/Ethalia/Events/PlayersEvents(64): pocketmine\event\player\PlayerCreationEvent->setPlayerClass(string[30] Ethalia\Entities\EthaliaPlayer)
#2 pmsrc/src/event/RegisteredListener(60): Ethalia\Events\PlayersEvents->onCreation(object pocketmine\event\player\PlayerCreationEvent#26453)
#3 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerCreationEvent#26453)
#4 pmsrc/src/Server(560): pocketmine\event\Event->call()
#5 pmsrc/src/network/mcpe/NetworkSession(238): pocketmine\Server->createPlayer(object pocketmine\network\mcpe\NetworkSession#24611, object pocketmine\player\XboxLivePlayerInfo#26430, true, object pocketmine\nbt\tag\CompoundTag#26387)
#6 pmsrc/src/network/mcpe/NetworkSession(710): pocketmine\network\mcpe\NetworkSession->createPlayer()
#7 pmsrc/src/network/mcpe/handler/ResourcePacksPacketHandler(132): pocketmine\network\mcpe\NetworkSession->pocketmine\network\mcpe\{closure}()
#8 pmsrc/vendor/pocketmine/bedrock-protocol/src/ResourcePackClientResponsePacket(61): pocketmine\network\mcpe\handler\ResourcePacksPacketHandler->handleResourcePackClientResponse(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#26464)
#9 pmsrc/src/network/mcpe/NetworkSession(409): pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket->handle(object pocketmine\network\mcpe\handler\ResourcePacksPacketHandler#26460)
#10 pmsrc/src/network/mcpe/NetworkSession(372): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ResourcePackClientResponsePacket#26464, string[4] ....)
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[7] c.`a`..)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[16] ..i`.&.O'..F..b.)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#24905)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1663879882.3732)
#17 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#19 pmsrc/src/PocketMine(328): pocketmine\server()
#20 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show