Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash whitout op #5

Closed
UnEnanoMas opened this issue Aug 15, 2020 · 3 comments
Closed

Crash whitout op #5

UnEnanoMas opened this issue Aug 15, 2020 · 3 comments
Labels
Bug Something isn't working Closed A closed issue Fixed A fixed issue

Comments

@UnEnanoMas
Copy link

UnEnanoMas commented Aug 15, 2020

I have tried it with OP and the plugin works fine, but if I remove the op, and try to get a job it throws me internal

My players have the jobui.job permission

[21:06:59] [Server thread/CRITICAL]: ErrorException: "Array to string conversion" (EXCEPTION) in "plugins/JobUI_dev-98.phar/src/hamid0740/JobUI/Main" at line 460
[21:06:59] [Server thread/CRITICAL]: #0 plugins/JobUI_dev-98.phar/src/hamid0740/JobUI/Main(460): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[26] Array to string conversion, string[77] phar:///home/container/plugins/JobUI_dev-98.phar/src/hamid0740/JobUI/Main.php, integer 460, array[5])
[21:06:59] [Server thread/CRITICAL]: #1 plugins/JobUI_dev-98.phar/src/hamid0740/JobUI/libs/jojoe77777/FormAPI/Form(46): hamid0740\JobUI\Main->hamid0740\JobUI\{closure}(object pocketmine\Player, integer 1)
[21:06:59] [Server thread/CRITICAL]: #2 src/pocketmine/Player(3603): hamid0740\JobUI\libs\jojoe77777\FormAPI\Form->handleResponse(object pocketmine\Player, integer 1)
[21:06:59] [Server thread/CRITICAL]: #3 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(264): pocketmine\Player->onFormSubmit(integer 2, integer 1)
[21:06:59] [Server thread/CRITICAL]: #4 src/pocketmine/network/mcpe/protocol/ModalFormResponsePacket(49): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[21:06:59] [Server thread/CRITICAL]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[21:06:59] [Server thread/CRITICAL]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket)
[21:06:59] [Server thread/CRITICAL]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[21:06:59] [Server thread/CRITICAL]: #8 src/pocketmine/Player(3250): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:06:59] [Server thread/CRITICAL]: #9 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[21:06:59] [Server thread/CRITICAL]: #10 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[17] 81.0.36.151 28206, object raklib\protocol\EncapsulatedPacket, integer 0)
[21:06:59] [Server thread/CRITICAL]: #11 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[21:06:59] [Server thread/CRITICAL]: #12 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[21:06:59] [Server thread/CRITICAL]: #13 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[21:06:59] [Server thread/CRITICAL]: #14 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[21:06:59] [Server thread/CRITICAL]: #15 src/pocketmine/Server(2157): pocketmine\snooze\SleeperHandler->sleepUntil(double 1597518419.5984)
[21:06:59] [Server thread/CRITICAL]: #16 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
[21:06:59] [Server thread/CRITICAL]: #17 src/pocketmine/Server(1588): pocketmine\Server->start()
[21:06:59] [Server thread/CRITICAL]: #18 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
[21:06:59] [Server thread/CRITICAL]: #19 src/pocketmine/PocketMine(304): pocketmine\server()
[21:06:59] [Server thread/CRITICAL]: #20 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
@hamid0740
Copy link
Owner

Ok
I will check
It will be fixed in 2.3.5

@hamid0740
Copy link
Owner

But the correct permission is jobui.job.*

@hamid0740 hamid0740 added Bug Something isn't working Closed A closed issue Fixed A fixed issue labels Aug 16, 2020
@hamid0740
Copy link
Owner

I really appreciate when you report a bug
Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Closed A closed issue Fixed A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants