what is the problem ? I opened an issue but SonsaYT said that he told me he did not have this problem thanks Code: 2018-10-09 [18:12:09] [Server thread/INFO]: [18:12:09] Aqoi47 en y [-] 2018-10-09 [18:12:09] [Server thread/INFO]: Aqoi79 en y[/9X.XX.XXX.XXX:37028] logged out due to Kicked by admin. Reason: You are banned by Player03 for 30 day/s, 0 hour/s, 1 minute/s. Reason: x-ray 2018-10-09 [18:12:09] [Server thread/INFO]: Aqoi79 en y has been banned by Player03 for 30 day/s, 0 hour/s, 1 minute/s. Reason: x-ray 2018-10-09 [18:12:09] [Server thread/CRITICAL]: ErrorException: "Object of class SQLite3Result could not be converted to int" (EXCEPTION) in "TempBanUI_dev-54.phar/src/SonsaYT/TempBanUI/Main" at line 72 2018-10-09 [18:12:09] [Server thread/DEBUG]: #0 TempBanUI_dev-54.phar/src/SonsaYT/TempBanUI/Main(72): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Object of class SQLite3Result could not be converted to int, string phar:///home/myserver/plugins/TempBanUI_dev-54.phar/src/SonsaYT/TempBanUI/Main.php, integer 72, array Array()) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #1 FormAPI_dev-7.phar/src/jojoe77777/FormAPI/Form(46): SonsaYT\TempBanUI\Main->SonsaYT\TempBanUI\{closure}(pocketmine\Player object, array Array()) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #2 src/pocketmine/Player(3386): jojoe77777\FormAPI\Form->handleResponse(pocketmine\Player object, array Array()) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(242): pocketmine\Player->onFormSubmit(integer 0, array Array()) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #4 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #8 src/pocketmine/Player(3056): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(161): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 90.35.180.111 60933, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(102): raklib\server\ServerHandler->handlePacket() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #12 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(92): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #14 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #16 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1539101529.5659) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #17 src/pocketmine/Server(2134): pocketmine\Server->tickProcessor() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #18 src/pocketmine/Server(1700): pocketmine\Server->start() 2018-10-09 [18:12:09] [Server thread/DEBUG]: #19 src/pocketmine/PocketMine(249): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/myserver/, string /home/myserver/plugins/) 2018-10-09 [18:12:09] [Server thread/DEBUG]: #20 /home/myserver/PocketMine-MP.phar(1): require(string phar:///home/myserver/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2018-10-09 [18:12:09] [RakLibServer thread/NOTICE]: Blocked 9X.XX.XXX.XXX for 5 seconds
@wolfdale https://poggit.pmmp.io/r/36925/TempBanUI_dev-54.phar https://poggit.pmmp.io/ci/SonsaYT04/TempBanUI/TempBanUI need FormAPI https://poggit.pmmp.io/ci/jojoe77777/FormAPI/FormAPI with PMMP #1544 stable https://jenkins.pmmp.io/job/PocketMine-MP/1544/artifact/PocketMine-MP.phar
https://github.com/SonsaYT04/TempBanUI/blob/master/src/SonsaYT/TempBanUI/Main.php#L72 Pretty sure if has to be an issue with FormAPI.
I haven't looked at formAPI much, but I would try simply returning if $result is an instance of SQLite3Result or null at line 67.
The error should be caused by https://github.com/SonsaYT04/TempBanUI/blob/master/src/SonsaYT/TempBanUI/Main.php#L89 PHP: $result = $banInfo->execute(); which will cause it to compare an SQLite3Result to an int it should work correctly if you change it to PHP: $banInfo->execute(); Edit: reported to SonsaYT04 https://github.com/SonsaYT04/TempBanUI/issues/22