menu
#3761880 Undefined variable: p

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-02-13 14:02:34 +0000 UTC

System Information

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

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined variable: p
File: plugins/PracticeParticle
Line: #77
Error level: ErrorException
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
				if ($size === 8 or $size === 6 or $size === 4 or $size === 2) {
$arr = $this->owner->get($pos, $size);
foreach ($arr as $p) {
$pos->getLevel()->addParticle(new DustParticle(new Position($p->getX(), $p->getY() + 4, $p->getZ(), $pos->getLevel()), mt_rand(0, 255), mt_rand(0, 255), mt_rand(0, 255)));
}
$this->owner->list[$name]["size"] -= 2;
}
if ($size === 0) {
for ($i = 4; $i > 0; $i--) {
$pos->getLevel()->addParticle(new DustParticle(new Position($p->getX(), $p->getY() + $i, $p->getZ(), $pos->getLevel()), mt_rand(0, 255), mt_rand(0, 255), mt_rand(0, 255)));
}
unset($this->owner->list[$name]);
array_values($this->owner->list);
}
}
}
}
}
#0 plugins/PracticeParticle(77): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[21] Undefined variable: p, string[75] C:\Users\capta\Desktop\PMMP\pocketmine-MP\PMMP\plugins\PracticeParticle.php, integer 77, array[6])
#1 src/pocketmine/scheduler/TaskHandler(169): ParticleTask->onRun(integer 281)
#2 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 281)
#3 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 281)
#4 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 281)
#5 src/pocketmine/Server(2403): pocketmine\Server->tick()
#6 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1811): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[47] C:\Users\capta\Desktop\PMMP\pocketmine-MP\PMMP\, string[55] C:\Users\capta\Desktop\PMMP\pocketmine-MP\PMMP\plugins\)
#9 src/pocketmine/PocketMine(297): pocketmine\server()
#10 (1): require(string[102] phar://C:/Users/capta/Desktop/PMMP/pocketmine-MP/PMMP/PocketMine-MP.phar/src/poc)

Loaded Plugins

  • Show

Server Settings

  • Show