PocketMine Crash Archive

#29712835 Undefined call error by EconomyAPI plugin

Submitted by PocketMine-Steadfast 1.5.1-hybrid
Warning! This crash was caused by the EconomyAPI plugin. Please contact the original plugin author.

General information

Version: 1.5.1
API version: 1.12.0
Caused by a Plugin: YES
Report date: Wednesday 11/09/2019 23:18:31
Attached Issue: None

System Information

PHP version: 7.0.3
Operating system: linux
System banner: Linux v148316.hosted-by-vdsina.ru 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64

Error information

Call to undefined method pocketmine\Server::getLanguage()
File: /plugins/EconomyAPI.phar/src/onebone/economyapi/EconomyAPI
Line: #216
Error level: notice

[207] 			$this->getLogger()->notice("Auto save has been set to interval : ".$time." min(s)");
[208] 		}
[209] 
[210] 		$update_check = new Config($this->getDataFolder()."update-check.yml", Config::YAML, yaml_parse($this->readResource("update-check.yml")));
[211] 		if($update_check->get("check-update")){
[212] 			try{
[213] 				$this->getLogger()->info("Checking for updates... It may be take some while.");
[214] 
[215] 				$host = $update_check->get("update-host");
[216] 				$url = "http://".$host."/?package_version=".self::PACKAGE_VERSION."&version=".$this->getDescription()->getVersion()."&lang=".$this->getServer()->getLanguage()->getName();
[217] 				
[218] 				$desc = json_decode(Utils::getUrl($url), true);
[219] 
[220] 				if($desc["update-available"]){
[221] 					$this->getLogger()->notice("New version of EconomyS v".$desc["new-version"]." was released. You can download file from ".$desc["download-address"]);
[222] 				}
[223] 				if($desc["notice"] !== ""){
[224] 					$this->getLogger()->notice($desc["notice"]);
[225] 				}
[226] 			}catch(\Exception $e){
#0 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
#1 /src/pocketmine/plugin/PluginManager(566): pocketmine\plugin\PharPluginLoader->enablePlugin(onebone\economyapi\EconomyAPI EconomyAPI (total accounts: 2))
#2 /src/pocketmine/Server(1916): pocketmine\plugin\PluginManager->enablePlugin(onebone\economyapi\EconomyAPI EconomyAPI (total accounts: 2))
#3 /src/pocketmine/Server(1902): pocketmine\Server->enablePlugin(onebone\economyapi\EconomyAPI EconomyAPI (total accounts: 2))
#4 /src/pocketmine/Server(1724): pocketmine\Server->enablePlugins(integer 1)
#5 /src/pocketmine/PocketMine(459): pocketmine\Server->__construct(pocketmine\CompatibleClassLoader object, pocketmine\utils\MainLogger object, string /root/srv1.1/, string /root/srv1.1/, string /root/srv1.1/plugins/)

Loaded Plugins

NameVersionStateAuthor(s)
EconomyAPI2.0.8Enabledonebone

Server Settings [toggle]

NameValue
server-nameCORECRAFT
server-port54321
gamemode0
max-players20
spawn-protection16
white-listoff
enable-queryoff
enable-rconoff
motd§l§cC§fO§cR§fE§cC§fR§cA§fF§cT §7| §eTest§r
announce-player-achievementson
allow-flightoff
spawn-animalson
spawn-mobson
force-gamemodeoff
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
rcon.password******
auto-saveon
online-mode0
view-distance8
memory-limit256M
animals-limit0
mobs-limit0
auto-generateoff
save-player-dataoff
time-updateon
use-encryptoff
settings.languageeng
settings.force-languagefalse
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.profile-report-trigger20
settings.async-workersauto
memory.global-limit0
memory.main-limit0
memory.main-hard-limit1024
memory.check-rate20
memory.continuous-triggertrue
memory.continuous-trigger-rate30
memory.garbage-collection.period36000
memory.garbage-collection.collect-async-workertrue
memory.garbage-collection.low-memory-triggertrue
memory.max-chunks.trigger-limit96
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-level7
network.async-compressionfalse
network.upnp-forwardingfalse
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
level-settings.auto-tick-ratetrue
level-settings.auto-tick-rate-limit20
level-settings.base-tick-rate1
level-settings.always-tick-playersfalse
chunk-sending.per-tick4
chunk-sending.max-chunks192
chunk-sending.spawn-threshold56
chunk-sending.cache-chunksfalse
chunk-ticking.per-tick40
chunk-ticking.tick-radius3
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listtrue
chunk-generation.queue-size8
chunk-generation.population-queue-size8
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-phpinfofalse
auto-report.hostcrash.pocketmine.net
anonymous-statistics.enabledtrue
anonymous-statistics.hoststats.pocketmine.net
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download