PocketMine Crash Archive

#29785167 Undefined call error by EconomyAPI plugin

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

General information

Version: 1.4.1dev-936
API version: 1.11.0
Caused by a Plugin: YES
Report date: Monday 28/11/2022 09:38:29
Attached Issue: None

System Information

PHP version: 5.6.2
Operating system: android
System banner: Linux localhost 4.14.116 #1 SMP PREEMPT Tue Aug 2 18:12:54 CST 2022 aarch64

Error information

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

[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 (): pocketmine\Server->crashDump()

Loaded Plugins

NameVersionStateAuthor(s)
EconomyAPI2.0.9Enabledonebone
EconomyAuction2.0.2Disabledonebone
EconomyCasino2.0.2Disabledonebone
EconomyJob2.0.4Disabledonebone
EconomyTax2.0.3Disabledonebone

Server Settings [toggle]

NameValue
server-nameMinecraft: PE Server
server-port14364
gamemode1
max-players666
spawn-protection-1
whitelistoff
enable-queryon
enable-rconoff
descriptionmake.serv.mine
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-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