menu
#2580584 Undefined variable: players

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-07-11 16:48:06 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: win
System banner: Windows NT DESKTOP-NPO10HF 10.0 build 17134 (Windows 10) AMD64

Error information

Warning: the Boss plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: players
File: plugins/Boss/src/NawafPlugin/Boss
Line: #188
Error level: ErrorException
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
	//protected $gravity = 0.03;
//protected $drag = 0.01;

public $players;

public $plugin;

public function __construct(\pocketmine\level\Level $level,CompoundTag $nbt){

$this->players = $players;
$this->plugin = $this->plugin;
parent::__construct($level,$nbt);
}


public function getName() : string{
return "rav";
}


#0 plugins/Boss/src/NawafPlugin/Boss(188): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined variable: players, string C:\Users\Dell\Desktop\PocketMine-MP\plugins\Boss\src\NawafPlugin\Boss.php, integer 188, array Array())
#1 src/pocketmine/entity/Entity(365): NawafPlugin\Entity\rav->__construct(pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
#2 plugins/Boss/src/NawafPlugin/Boss(101): pocketmine\entity\Entity::createEntity(string rav, pocketmine\level\Level object, pocketmine\nbt\tag\CompoundTag object)
#3 plugins/Boss/src/NawafPlugin/Boss(161): NawafPlugin\Boss->task()
#4 src/pocketmine/scheduler/TaskHandler(159): NawafPlugin\boos->onRun(integer 1101)
#5 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1101)
#6 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1101)
#7 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 1101)
#8 src/pocketmine/Server(2334): pocketmine\Server->tick()
#9 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1774): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\Dell\Desktop\PocketMine-MP\, string C:\Users\Dell\Desktop\PocketMine-MP\plugins\)
#12 (1): require(string phar://C:/Users/Dell/Desktop/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show