PocketMine Crash Archive

#29757681 Undefined call error by WorldGuardian plugin

Submitted by SimplexCore 1.0
Warning! This crash was caused by the WorldGuardian plugin. Please contact the original plugin author.

General information

Version: 1.0
API version: 1.12.0
Caused by a Plugin: YES
Report date: Monday 22/06/2020 09:07:16
Attached Issue: None

System Information

PHP version: 7.0.19
Operating system: linux
System banner: Linux gs77785 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64

Error information

Call to a member function myMoney() on null
File: /plugins/WorldGuardian.phar/src/WorldGuardian/WorldGuardian
Line: #225
Error level: notice

[216]     {
[217]         $player = $event->getPlayer();
[218]         $block = $event->getBlock();
[219]         $bid = $block->getId();
[220]         $x = round($block->getX());
[221]         $y = round($block->getY());
[222]         $z = round($block->getZ());
[223]         $level = $block->getLevel()->getName();
[224]         $username = strtolower($player->getName());
[225]         $money = $this->economyapi->myMoney($username);
[226]         $item = $event->getItem()->getId();
[227]         $result = $this->db->query("SELECT * FROM AREAS WHERE (Pos1X <= $x AND $x <= Pos2X) AND (Pos1Y <= $y AND $y <= Pos2Y) AND (Pos1Z <= $z AND $z <= Pos2Z) AND Level = '" . $level . "';")->fetchArray(SQLITE3_ASSOC);
[228]         $count  = $this->db->query("SELECT COUNT(*) as count FROM AREAS WHERE (Pos1X <= $x AND $x <= Pos2X) AND (Pos1Y <= $y AND $y <= Pos2Y) AND (Pos1Z <= $z AND $z <= Pos2Z) AND Level = '" . $level . "';")->fetchArray(SQLITE3_ASSOC);
[229]         
[230]         
[231]         $find = $x.":".$y.":".$z.":".$level;
[232]         if(isset($this->sells[$find])) {
[233]             $region = $this->sells[$find]["region"];
[234]             $xgroup = $this->xgroup->getAll();
[235]             $user_group = $this->getPlayerGroup($username, array('levelName' => null));
#0 /src/pocketmine/plugin/RegisteredListener(96): pocketmine\plugin\MethodEventExecutor->execute(WorldGuardian\WorldGuardian object, pocketmine\event\player\PlayerInteractEvent object)
#1 /src/pocketmine/plugin/PluginManager(672): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
#2 /src/pocketmine/level/Level(1434): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerInteractEvent object)
#3 /src/pocketmine/Player(4108): pocketmine\level\Level->useItemOn(pocketmine\math\Vector3 Vector3(x=408,y=71,z=32), pocketmine\item\ItemBlock Item Air (0:0)x0, integer 2, double 0.5001220703125, double 0.74267578125, double 0, pocketmine\Player Player(6))
#4 /src/pocketmine/Player(2591): pocketmine\Player->useItem(pocketmine\item\ItemBlock Item Air (0:0)x0, integer 0, integer 2, array Array(), array Array())
#5 /src/pocketmine/network/RakLibInterface(186): pocketmine\Player->handleDataPacket(pocketmine\network\protocol\v120\InventoryTransactionPacket object)
#6 /src/raklib/server/ServerHandler(98): pocketmine\network\RakLibInterface->handleEncapsulated(string 176.59.48.202:7015, string [email protected]=.B,l.A...?. >?......)
#7 /src/pocketmine/network/RakLibInterface(121): raklib\server\ServerHandler->handlePacket(boolean)
#8 /src/pocketmine/network/Network(176): pocketmine\network\RakLibInterface->process(boolean)
#9 /src/pocketmine/Server(2448): pocketmine\network\Network->processInterfaces(boolean)
#10 /src/pocketmine/Server(2255): pocketmine\Server->tick(boolean)
#11 /src/pocketmine/Server(2129): pocketmine\Server->tickProcessor(boolean)
#12 /src/pocketmine/Server(1732): pocketmine\Server->start(boolean)
#13 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /home/, string /home/, string /home/plugins/)

Loaded Plugins

NameVersionStateAuthor(s)
ChatGame1Disabled
DisableWeather1.0.0EnabledKairus Dark Seeker
BlockedCommand1.0.0EnabledinLoading (https://vk.com/inloading)
PocketSexDefaultEnabledfoxlife_
WorldGuardian2.0EnabledFIRERO
WalkingSign3EnabledMrDoni98
Clicker1.0.0Enabled
aFloatingText1.2EnabledAlexBrin
ServerAuth2.13EnabledEvolSoft
Warp1.0Enabled
Marry1Enabled
TapToDo2.0.0EnabledFalk
ManyWorlds2.0.3Enabledaliuly

Server Settings [toggle]

NameValue
server-name§l§9EdgeWorld §fGrief
motd§l§9EdgeWorld §fGrief
server-port19133
memory-limit2048M
white-list1
announce-player-achievementsoff
spawn-protection0
max-players300
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameob
level-seed
level-typeDEFAULT
enable-queryon
enable-rconon
rcon.password******
auto-saveon
xbox-authoff
online-modeoff
view-distance8
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
settings.languagerus
settings.force-languagefalse
settings.shutdown-messageСервер закрыт
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
settings.enable-testingfalse
memory.global-limit0
memory.main-limit0
memory.main-hard-limit1024
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection
memory.period36000
memory.collect-async-workertrue
memory.low-memory-triggertrue
memory.max-chunks.chunk-radius4
memory.max-chunks.trigger-chunk-collecttrue
memory.max-chunks.low-memory-triggertrue
memory.world-caches.disable-chunk-cachetrue
memory.world-caches.low-memory-triggertrue
network.batch-threshold256
network.compression-level2
network.async-compressiontrue
network.upnp-forwardingfalse
debug.assertions.warn-if-enabledtrue
debug.assertions.throw-exceptionfalse
debug.level1
debug.commandstrue
player.save-player-datatrue
player.anti-cheat.allow-movement-cheatstrue
player.anti-cheat.allow-instabreaktrue
level-settings.default-formatpmanvil
level-settings.auto-tick-ratefalse
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick2
chunk-sending.spawn-radius4
chunk-sending.cache-chunkstrue
chunk-sending.async-chunk-requestfalse
chunk-ticking.per-tick16
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-ticking.disable-block-ticking
chunk-generation.queue-size2
chunk-generation.population-queue-size2
ticks-per.animal-spawns400
ticks-per.monster-spawns1
ticks-per.autosave6000
ticks-per.cache-cleanup900
spawn-limits.monsters70
spawn-limits.animals15
spawn-limits.water-animals5
spawn-limits.ambient15
auto-report.enabledtrue
auto-report.send-codetrue
auto-report.send-settingstrue
auto-report.send-phpinfotrue
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.pocketmine.net
commands.defaulttrue
timings.hosttimings.pmmp.io
aliases
worlds
Find duplicates  |   Download