menu
#4531065 Undefined variable: xp

Submitted by PocketMine-MP 3.15.1

General information

Version: 3.15.1
Git commit: 9f604842
Plugin involvement: Direct
Report date: 2020-09-16 02:45:10 +0000 UTC

System Information

PHP version: 7.3.21
Operating system: linux
System banner: Linux pacman-network 5.4.0-1022-gcp #22~18.04.1-Ubuntu SMP Fri Aug 14 11:46:21 UTC 2020 x86_64

Error information

Warning: the CoreKit plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: xp
File: plugins/CoreKit.v1 16 by TG (12).phar/src/Corek/Corek
Line: #490
Error level: ErrorException
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
			    $online->sendTip(TE::BOLD.TE::GREEN."+".$coins." coins");
$online->addTitle(" ",TE::BOLD.TE::AQUA."+1 muerte",20,40,20);
$ByName = $damager;
$this->addKill($damager);
$this->setCoins($damager,$coins);
$this->addXP($online,$xp); //@5 prueba
}
$online = $this->getServer()->getPlayer($vitim);
$online->extinguish();
return "§c[FIRE]§6".$vitim."§f fue rostizado por §c".$ByName."§f [XP]§a +".$xp;
} else {
$online = $this->getServer()->getPlayer($vitim);
$online->extinguish();
return "§c[FIRE]§6".$vitim."§f se ha quemado asta morir";
}
}

public function setMDProjectil(string $vitim) : string {
if(isset($this->attackvitm[$vitim])) {
$damager = $this->attackvitm[$vitim];
#0 plugins/CoreKit.v1 16 by TG (12).phar/src/Corek/Corek(490): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[22] Undefined variable: xp, string[97] phar:///home/PacManNetPL/Servers/KitPvP/plugins/CoreKit.v1 16 by TG (12).phar/sr, integer 490, array[4])
#1 plugins/CoreKit.v1 16 by TG (12).phar/src/Corek/events/EventsType(389): Corek\Corek->setMDFire(string[15] BunkeredComet93)
#2 src/pocketmine/plugin/MethodEventExecutor(42): Corek\events\EventsType->onEventFire(object pocketmine\event\entity\EntityDamageEvent)
#3 src/pocketmine/plugin/RegisteredListener(80): pocketmine\plugin\MethodEventExecutor->execute(object Corek\events\EventsType, object pocketmine\event\entity\EntityDamageEvent)
#4 src/pocketmine/event/Event(88): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\entity\EntityDamageEvent)
#5 src/pocketmine/entity/Entity(933): pocketmine\event\Event->call()
#6 src/pocketmine/entity/Living(545): pocketmine\entity\Entity->attack(object pocketmine\event\entity\EntityDamageEvent)
#7 src/pocketmine/Player(3873): pocketmine\entity\Living->attack(object pocketmine\event\entity\EntityDamageEvent)
#8 src/pocketmine/entity/Entity(1114): pocketmine\Player->attack(object pocketmine\event\entity\EntityDamageEvent)
#9 src/pocketmine/entity/Entity(1097): pocketmine\entity\Entity->dealFireDamage()
#10 src/pocketmine/entity/Entity(1037): pocketmine\entity\Entity->doOnFireTick(integer 1)
#11 src/pocketmine/entity/Living(642): pocketmine\entity\Entity->entityBaseTick(integer 1)
#12 src/pocketmine/entity/Human(627): pocketmine\entity\Living->entityBaseTick(integer 1)
#13 src/pocketmine/Player(1785): pocketmine\entity\Human->entityBaseTick(integer 1)
#14 src/pocketmine/level/Level(852): pocketmine\Player->onUpdate(integer 1537801)
#15 src/pocketmine/level/Level(785): pocketmine\level\Level->actuallyDoTick(integer 1537801)
#16 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 1537801)
#17 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 1537801, double 1600224310.6589)
#18 src/pocketmine/Server(2154): pocketmine\Server->tick()
#19 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#20 src/pocketmine/Server(1588): pocketmine\Server->start()
#21 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[33] /home/PacManNetPL/Servers/KitPvP/, string[41] /home/PacManNetPL/Servers/KitPvP/plugins/)
#22 src/pocketmine/PocketMine(304): pocketmine\server()
#23 (11): require(string[88] phar:///home/PacManNetPL/Servers/KitPvP/PocketMine-MP.phar/src/pocketmine/Pocket)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies