menu
#4873804 A non well formed numeric value encountered

Submitted by PocketMine-MP 3.18.0

General information

Version: 3.18.0
Git commit: 3f649062
Plugin involvement: Direct
Report date: 2021-04-07 23:40:28 +0000 UTC
Server uptime: 0 days 3 hours 2 minutes 19 seconds

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux 2489.node.apexhosting.gdn 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64

Error information

Warning: the EconomyAPI plugin was directly involved in this crash. Please contact the plugin author.
Message: A non well formed numeric value encountered
File: plugins/EconomyAPI_v5.7.2.phar/src/onebone/economyapi/provider/YamlProvider
Line: #116
Error level: ErrorException
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
	}

public function addMoney($player, $amount){
if($player instanceof Player){
$player = $player->getName();
}
$player = strtolower($player);

if(isset($this->money["money"][$player])){
$this->money["money"][$player] += $amount;
$this->money["money"][$player] = round($this->money["money"][$player], 2);
return true;
}
return false;
}

public function reduceMoney($player, $amount){
if($player instanceof Player){
$player = $player->getName();
}
#0 plugins/EconomyAPI_v5.7.2.phar/src/onebone/economyapi/provider/YamlProvider(116): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[43] A non well formed numeric value encountered, string[145] phar:///home/minecraft/multicraft/servers/server653370/pocketmine/plugins/Econom, integer 116, array[2])
#1 plugins/EconomyAPI_v5.7.2.phar/src/onebone/economyapi/EconomyAPI(224): onebone\economyapi\provider\YamlProvider->addMoney(string[8] huyasics, double 1024)
#2 plugins/Sell_v2.phar/src/SellHand/Main(210): onebone\economyapi\EconomyAPI->addMoney(string[8] huyasics, double 1024)
#3 plugins/ApexMiner_v0.0.2.phar/src/ApexDev/ApexMiner/task/MinerTask(66): SellHand\Main->sellAll3(object pocketmine\inventory\ChestInventory, object ProtocolSupport\ProtocolSupportPlayer, object SellHand\Main)
#4 pmsrc/src/pocketmine/scheduler/TaskHandler(137): ApexDev\ApexMiner\task\MinerTask->onRun(integer 218774)
#5 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 218774)
#6 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 218774)
#7 pmsrc/src/pocketmine/Server(2389): pocketmine\plugin\PluginManager->tickSchedulers(integer 218774)
#8 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#9 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#10 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#11 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[59] /home/minecraft/multicraft/servers/server653370/pocketmine/, string[67] /home/minecraft/multicraft/servers/server653370/pocketmine/plugins/)
#12 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#13 pmsrc(11): require(string[118] phar:///home/minecraft/multicraft/servers/server653370/pocketmine/jar/PocketMine)

Loaded Plugins

  • Show

Server Settings

  • Show