Open GamakCZ opened 6 years ago
[18:37:39] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'EconomyAPI v5.7.2': Trying to get property 'num_rows' of non-object on onebone\economyapi\EconomyAPI [18:37:39] [Server thread/CRITICAL]: ErrorException: "Trying to get property 'num_rows' of non-object" (EXCEPTION) in "EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider" at line 77 [18:37:39] [Server thread/DEBUG]: #0 EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider(77): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Trying to get property 'num_rows' of non-object, string phar:///root/SW/plugins/EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider.php, integer 77, array Array()) [18:37:39] [Server thread/DEBUG]: #1 EconomyAPI.phar/src/onebone/economyapi/EconomyAPI(321): onebone\economyapi\provider\MySQLProvider->accountExists(string encryptsneeze43) [18:37:39] [Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): onebone\economyapi\EconomyAPI->onJoin(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(onebone\economyapi\EconomyAPI object, pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(756): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #5 src/pocketmine/Player(1029): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #6 src/pocketmine/Player(977): pocketmine\Player->doFirstSpawn() [18:37:39] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2459): pocketmine\Player->sendChunk(integer 0, integer 6, pocketmine\network\mcpe\protocol\BatchPacket object) [18:37:39] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(2505): pocketmine\level\Level->sendChunkFromCache(integer 0, integer 6) [18:37:39] [Server thread/DEBUG]: #9 src/pocketmine/level/format/io/ChunkRequestTask(88): pocketmine\level\Level->chunkRequestCallback(integer 0, integer 6, pocketmine\network\mcpe\protocol\BatchPacket object) [18:37:39] [Server thread/DEBUG]: #10 src/pocketmine/scheduler/AsyncPool(285): pocketmine\level\format\io\ChunkRequestTask->onCompletion(pocketmine\Server object) [18:37:39] [Server thread/DEBUG]: #11 src/pocketmine/Server(2508): pocketmine\scheduler\AsyncPool->collectTasks() [18:37:39] [Server thread/DEBUG]: #12 src/pocketmine/Server(2255): pocketmine\Server->tick() [18:37:39] [Server thread/DEBUG]: #13 src/pocketmine/Server(2129): pocketmine\Server->tickProcessor() [18:37:39] [Server thread/DEBUG]: #14 src/pocketmine/Server(1710): pocketmine\Server->start() [18:37:39] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/SW/, string /root/SW/plugins/) [18:37:39] [Server thread/DEBUG]: #16 /root/SW/PocketMine-MP.phar(1): require(string phar:///root/SW/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
my error
Reopening as better error handling is needed.
error is caused by removing database
[18:37:39] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'EconomyAPI v5.7.2': Trying to get property 'num_rows' of non-object on onebone\economyapi\EconomyAPI [18:37:39] [Server thread/CRITICAL]: ErrorException: "Trying to get property 'num_rows' of non-object" (EXCEPTION) in "EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider" at line 77 [18:37:39] [Server thread/DEBUG]: #0 EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider(77): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Trying to get property 'num_rows' of non-object, string phar:///root/SW/plugins/EconomyAPI.phar/src/onebone/economyapi/provider/MySQLProvider.php, integer 77, array Array()) [18:37:39] [Server thread/DEBUG]: #1 EconomyAPI.phar/src/onebone/economyapi/EconomyAPI(321): onebone\economyapi\provider\MySQLProvider->accountExists(string encryptsneeze43) [18:37:39] [Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): onebone\economyapi\EconomyAPI->onJoin(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(onebone\economyapi\EconomyAPI object, pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(756): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #5 src/pocketmine/Player(1029): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerJoinEvent object) [18:37:39] [Server thread/DEBUG]: #6 src/pocketmine/Player(977): pocketmine\Player->doFirstSpawn() [18:37:39] [Server thread/DEBUG]: #7 src/pocketmine/level/Level(2459): pocketmine\Player->sendChunk(integer 0, integer 6, pocketmine\network\mcpe\protocol\BatchPacket object) [18:37:39] [Server thread/DEBUG]: #8 src/pocketmine/level/Level(2505): pocketmine\level\Level->sendChunkFromCache(integer 0, integer 6) [18:37:39] [Server thread/DEBUG]: #9 src/pocketmine/level/format/io/ChunkRequestTask(88): pocketmine\level\Level->chunkRequestCallback(integer 0, integer 6, pocketmine\network\mcpe\protocol\BatchPacket object) [18:37:39] [Server thread/DEBUG]: #10 src/pocketmine/scheduler/AsyncPool(285): pocketmine\level\format\io\ChunkRequestTask->onCompletion(pocketmine\Server object) [18:37:39] [Server thread/DEBUG]: #11 src/pocketmine/Server(2508): pocketmine\scheduler\AsyncPool->collectTasks() [18:37:39] [Server thread/DEBUG]: #12 src/pocketmine/Server(2255): pocketmine\Server->tick() [18:37:39] [Server thread/DEBUG]: #13 src/pocketmine/Server(2129): pocketmine\Server->tickProcessor() [18:37:39] [Server thread/DEBUG]: #14 src/pocketmine/Server(1710): pocketmine\Server->start() [18:37:39] [Server thread/DEBUG]: #15 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/SW/, string /root/SW/plugins/) [18:37:39] [Server thread/DEBUG]: #16 /root/SW/PocketMine-MP.phar(1): require(string phar:///root/SW/PocketMine-MP.phar/src/pocketmine/PocketMine.php)