Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

error when you do /id #10

Closed
tigre96 opened this issue Jul 19, 2019 · 0 comments
Closed

error when you do /id #10

tigre96 opened this issue Jul 19, 2019 · 0 comments

Comments

@tigre96
Copy link

tigre96 commented Jul 19, 2019

[03:46:26] [Server thread/CRITICAL]: ErrorException: "stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior" (EXCEPTION) in "plugins/ChestShop/src/ChestShop/ChestShop" at line 27
[03:46:26] [Server thread/DEBUG]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 8192, string[135] stripos(): Non-string needles will be interpreted as strings in the future. Use , string[56] /root/Test/plugins/ChestShop/src/ChestShop/ChestShop.php, integer 27, array[7])
[03:46:26] [Server thread/DEBUG]: #1 plugins/ChestShop/src/ChestShop/ChestShop(27): stripos(string[11] IRON_SHOVEL, NULL )
[03:46:26] [Server thread/DEBUG]: #2 src/pocketmine/command/PluginCommand(58): ChestShop\ChestShop->onCommand(object pocketmine\Player, object pocketmine\command\PluginCommand, string[2] id, array[0])
[03:46:26] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\Player, string[2] id, array[0])
[03:46:26] [Server thread/DEBUG]: #4 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[2] id)
[03:46:26] [Server thread/DEBUG]: #5 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[2] id)
[03:46:26] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(240): pocketmine\Player->chat(string[3] /id)
[03:46:26] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[03:46:26] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[03:46:26] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket)
[03:46:26] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[03:46:26] [Server thread/DEBUG]: #11 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[03:46:26] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[03:46:26] [Server thread/DEBUG]: #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 79.12.240.234 59735, object raklib\protocol\EncapsulatedPacket, integer 0)
[03:46:26] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[03:46:26] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[03:46:26] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[03:46:26] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[03:46:26] [Server thread/DEBUG]: #18 src/pocketmine/Server(2348): pocketmine\snooze\SleeperHandler->sleepUntil(double 1563500786.2122)
[03:46:26] [Server thread/DEBUG]: #19 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
[03:46:26] [Server thread/DEBUG]: #20 src/pocketmine/Server(1784): pocketmine\Server->start()
[03:46:26] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[11] /root/Test/, string[19] /root/Test/plugins/)
[03:46:26] [Server thread/DEBUG]: #22 (1): require(string[66] phar:///root/Test/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

this error is found by doing /id on any item

jasonw4331 added a commit that referenced this issue Jul 19, 2019
@tigre96 tigre96 mentioned this issue Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant