#3 ErrorException: "Undefined variable: selectorP" (EXCEPTION) in "PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer" at line 40

Open
opened 2 years ago by Ad5001 · 0 comments
Ad5001 commented 2 years ago

Original issue #4 by teracube created at 2018-03-30T14:17:57Z

PocketMine-MP version 1.7dev-743
PlayerSelectors_dev-1.phar

2018-03-30 [14:31:06] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerCommandPreprocessEvent' to 'PlayerSelectors v1': Undefined variable: selectorP on Ad5001\PlayerSelectors\Main
2018-03-30 [14:31:06] [Server thread/CRITICAL]: ErrorException: "Undefined variable: selectorP" (EXCEPTION) in "PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer" at line 40
2018-03-30 [14:31:06] [Server thread/DEBUG]: #0 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer(40): pocketmine\error_handler(integer 8, string Undefined variable: selectorP, string phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer.php, integer 40, array Array())
2018-03-30 [14:31:06] [Server thread/DEBUG]: #1 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/Main(87): Ad5001\PlayerSelectors\selector\ClosestPlayer->applySelector(pocketmine\Player object, array Array())
2018-03-30 [14:31:06] [Server thread/DEBUG]: #2 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/Main(53): Ad5001\PlayerSelectors\Main->execSelectors(string effect @p strength 999999999 0, pocketmine\Player object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #3 src/pocketmine/plugin/MethodEventExecutor(38): Ad5001\PlayerSelectors\Main->onCommandPreProcess(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Ad5001\PlayerSelectors\Main object, pocketmine\event\player\PlayerCommandPreprocessEvent object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(683): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #6 src/pocketmine/Player(2109): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /effect @p strength 999999999 0)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #12 src/pocketmine/Player(2964): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(149): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #14 vendor/pocketmine/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 182.xxx.xxx.129 51019, raklib\protocol\EncapsulatedPacket object, integer 0)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(90): raklib\server\ServerHandler->handlePacket()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #16 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #17 src/pocketmine/Server(2531): pocketmine\network\Network->processInterfaces()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #18 src/pocketmine/Server(2283): pocketmine\Server->tick()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #19 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #20 src/pocketmine/Server(1744): pocketmine\Server->start()
2018-03-30 [14:31:06] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/)
2018-03-30 [14:31:06] [Server thread/DEBUG]: #22 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Original issue [#4](https://github.com/Ad5001/PlayerSelectors/issues/4) by [teracube](https://github.com/teracube) created at 2018-03-30T14:17:57Z PocketMine-MP version 1.7dev-743 PlayerSelectors_dev-1.phar ``` 2018-03-30 [14:31:06] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerCommandPreprocessEvent' to 'PlayerSelectors v1': Undefined variable: selectorP on Ad5001\PlayerSelectors\Main 2018-03-30 [14:31:06] [Server thread/CRITICAL]: ErrorException: "Undefined variable: selectorP" (EXCEPTION) in "PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer" at line 40 2018-03-30 [14:31:06] [Server thread/DEBUG]: #0 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer(40): pocketmine\error_handler(integer 8, string Undefined variable: selectorP, string phar:///home/gsp_1485/g3.hmserv.eu-19144/plugins/PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/selector/ClosestPlayer.php, integer 40, array Array()) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #1 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/Main(87): Ad5001\PlayerSelectors\selector\ClosestPlayer->applySelector(pocketmine\Player object, array Array()) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #2 PlayerSelectors_dev-1.phar/src/Ad5001/PlayerSelectors/Main(53): Ad5001\PlayerSelectors\Main->execSelectors(string effect @p strength 999999999 0, pocketmine\Player object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #3 src/pocketmine/plugin/MethodEventExecutor(38): Ad5001\PlayerSelectors\Main->onCommandPreProcess(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Ad5001\PlayerSelectors\Main object, pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(683): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #6 src/pocketmine/Player(2109): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(220): pocketmine\Player->chat(string /effect @p strength 999999999 0) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #12 src/pocketmine/Player(2964): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(149): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #14 vendor/pocketmine/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 182.xxx.xxx.129 51019, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(90): raklib\server\ServerHandler->handlePacket() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #16 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #17 src/pocketmine/Server(2531): pocketmine\network\Network->processInterfaces() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #18 src/pocketmine/Server(2283): pocketmine\Server->tick() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #19 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #20 src/pocketmine/Server(1744): pocketmine\Server->start() 2018-03-30 [14:31:06] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/) 2018-03-30 [14:31:06] [Server thread/DEBUG]: #22 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php) ```
Ad5001 self-assigned this 2 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.