PocketMine Crash Archive

#29763062 Undefined call error by EconomyAPI plugin

Submitted by PocketMine-MP Alpha_1.4dev-822
Warning! This crash was caused by the EconomyAPI plugin. Please contact the original plugin author.

General information

Version: 1.4dev-822
API version: 1.7.0
Caused by a Plugin: YES
Report date: Saturday 26/09/2020 10:59:20
Attached Issue: None

System Information

PHP version: 5.6.2
Operating system: win
System banner: Windows NT DESKTOP-UBPHPVG 6.2 build 9200 (Windows 8 Business Edition) i586

Error information

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

[231] 			$this->getLogger()->notice("Auto save has been set to interval : ".$time." min(s)");
[232] 		}
[233] 
[234] 		$update_check = new Config($this->getDataFolder()."update-check.yml", Config::YAML, yaml_parse($this->readResource("update-check.yml")));
[235] 		if($update_check->get("check-update")){
[236] 			try{
[237] 				$this->getLogger()->info("Checking for updates... It may be take some while.");
[238] 
[239] 				$host = $update_check->get("update-host");
[240] 				$url = "http://".$host."/?package_version=".self::PACKAGE_VERSION."&version=".$this->getDescription()->getVersion()."&lang=".$this->getServer()->getLanguage()->getName();
[241] 				
[242] 				$desc = json_decode(Utils::getUrl($url), true);
[243] 
[244] 				if($desc["update-available"]){
[245] 					$this->getLogger()->notice("New version of EconomyS v".$desc["new-version"]." was released. You can download file from ".$desc["download-address"]);
[246] 				}
[247] 				if($desc["notice"] !== ""){
[248] 					$this->getLogger()->notice($desc["notice"]);
[249] 				}
[250] 			}catch(\Exception $e){

Loaded Plugins

NameVersionStateAuthor(s)
EconomyAPI2.0.8Enabledonebone
EssentialsTP2Disabled

Server Settings [toggle]

NameValue
server-nameMinecraft Pocket Server
descriptionMinecraft Pocket Server
motdWelcome @player to this server!
server-ip
server-port19132
server-typenormal
memory-limit128M
last-updateoff
white-listoff
announce-player-achievementson
spawn-protection16
view-distance10
max-players20
allow-flightoff
spawn-animalson
spawn-mobson
gamemode0
hardcoreoff
pvpon
difficulty1
generator-settings
level-nameworld
level-seed
level-typeDEFAULT
enable-queryon
enable-rconoff
rcon.password******
send-usageon
auto-saveon
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-workers4
debug.level1
debug.commandsfalse
level-settings.default-formatmcregion
level-settings.convert-formatfalse
chunk-sending.per-tick4
chunk-sending.compression-level8
chunk-sending.max-chunks96
chunk-ticking.per-tick80
chunk-ticking.tick-radius2
chunk-ticking.light-updatesfalse
chunk-ticking.clear-tick-listfalse
chunk-generation.use-asyncfalse
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-channelbeta
auto-updater.suggest-channelstrue
auto-updater.hostwww.pocketmine.net
aliases
worlds
Find duplicates  |   Download