PocketMine Crash Archive

#29712103 Undefined call error by EconomyAPI plugin

Submitted by PocketMine-MP 1.4.1-980
Warning! This crash was caused by the EconomyAPI plugin. Please contact the original plugin author.

General information

Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: YES
Report date: Friday 28/06/2019 06:34:22
Attached Issue: None

System Information

PHP version: 5.6.2
Operating system: android
System banner: Linux localhost 3.18.31-16004873 #1 SMP PREEMPT Sat May 11 11:33:32 KST 2019 armv7l

Error information

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

[206] 			$this->getLogger()->notice("Auto save has been set to interval : ".$time." min(s)");
[207] 		}
[208] 
[209] 		$update_check = new Config($this->getDataFolder()."update-check.yml", Config::YAML, yaml_parse($this->readResource("update-check.yml")));
[210] 		if($update_check->get("check-update")){
[211] 			try{
[212] 				$this->getLogger()->info("Checking for updates... It may be take some while.");
[213] 
[214] 				$host = $update_check->get("update-host");
[215] 				$url = "http://".$host."/?package_version=".self::PACKAGE_VERSION."&version=".$this->getDescription()->getVersion()."&lang=".$this->getServer()->getLanguage()->getName();
[216] 				
[217] 				$desc = json_decode(Utils::getUrl($url), true);
[218] 
[219] 				if($desc["update-available"]){
[220] 					$this->getLogger()->notice("New version of EconomyS v".$desc["new-version"]." was released. You can download file from ".$desc["download-address"]);
[221] 				}
[222] 				if($desc["notice"] !== ""){
[223] 					$this->getLogger()->notice($desc["notice"]);
[224] 				}
[225] 			}catch(\Exception $e){
#0 (): pocketmine\Server->crashDump()

Loaded Plugins

NameVersionStateAuthor(s)
aFloatingText1.2EnabledAlexBrin
EconomyAPI2.0.8Enabledonebone
SAutoMineAlpha_0.1EnabledSergey_Dertan
TapToDo2.0.0DisabledFalk

Server Settings [toggle]

NameValue
server-nameMinecraft: PE Server
server-port19132
gamemode0
max-players20
spawn-protection-1
whitelistoff
enable-queryon
enable-rconoff
descriptionServer made using PocketMine-MP
motdWelcome @player to this server!
server-typenormal
memory-limit128M
last-updateoff
announce-player-achievementson
view-distance10
allow-flightoff
spawn-animalson
spawn-mobson
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
rcon.password******
auto-saveon
white-listoff
force-gamemodeoff
settings.shutdown-messageServer closed
settings.query-pluginstrue
settings.deprecated-verbosetrue
settings.enable-profilingfalse
settings.advanced-cachefalse
settings.upnp-forwardingfalse
settings.send-usagetrue
settings.async-workers1
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks256
chunk-ticking.per-tick260
chunk-ticking.tick-radius4
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asynctrue
chunk-generation.per-tick1
chunk-gc.period-in-ticks600
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
auto-updater.enabledtrue
auto-updater.on-update.warn-consoletrue
auto-updater.on-update.warn-opstrue
auto-updater.preferred-channelstable
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download