PocketMine Crash Archive

#29712729 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: Wednesday 14/08/2019 01:14:29
Attached Issue: None

System Information

PHP version: 5.6.6
Operating system: win
System banner: Windows NT NOVAPE 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: #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 /src/pocketmine/Server(0): pocketmine\Server->crashDump()
#1 /src/pocketmine/plugin/PluginBase(86): onebone\economyapi\EconomyAPI->onEnable()
#2 /src/pocketmine/plugin/PharPluginLoader(123): pocketmine\plugin\PluginBase->setEnabled()
#3 /src/pocketmine/plugin/PluginManager(559): pocketmine\plugin\PharPluginLoader->enablePlugin()
#4 /src/pocketmine/Server(1785): pocketmine\plugin\PluginManager->enablePlugin()
#5 /src/pocketmine/Server(1771): pocketmine\Server->enablePlugin()
#6 /src/pocketmine/Server(1701): pocketmine\Server->enablePlugins()
#7 /src/pocketmine/PocketMine(442): pocketmine\Server->__construct()
#8 (1): ()
#9 (0): ()

Loaded Plugins

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

Server Settings [toggle]

NameValue
type0
server-nameVapeMC
server-port19132
memory-limit1024M
gamemode0
max-players100
spawn-protection16
white-listoff
enable-queryon
enable-rconoff
motdMinecraft: PE Server
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
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