Closed MrBlasyMSK closed 2 years ago
I wanted to use GroupsAPI to manage perms in my server, but when I added it, this happened I don't know if the problem comes from VanillaX or GroupsAPI, but I will report it in both githubs, this is the GroupsAPI code error
[Server thread/CRITICAL]: ErrorException: "Undefined variable $player" (EXCEPTION) in "plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/Member" at line 238 --- Stack trace --- #0 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/Member(238): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[26] Undefined variable $player, string[92] phar:///home/container/plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/use, integer 238) #1 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/Member(226): alvin0319\GroupsAPI\user\Member->applyNameTag() #2 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/Member(137): alvin0319\GroupsAPI\user\Member->updateGroups() #3 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/Member(79): alvin0319\GroupsAPI\user\Member->addGroup(object alvin0319\GroupsAPI\group\Group#571242, NULL ) #4 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/user/MemberManager(88): alvin0319\GroupsAPI\user\Member->__construct(string[11] eltitopacks, array[1]) #5 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/DataConnectorImpl(174): alvin0319\GroupsAPI\user\MemberManager->alvin0319\GroupsAPI\user\{closure}(array[0], array[0]) #6 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/DataConnectorImpl(181): alvin0319\GroupsAPI\libs\poggit\libasynql\base\DataConnectorImpl::alvin0319\GroupsAPI\libs\poggit\libasynql\base\{closure}(object alvin0319\GroupsAPI\libs\poggit\libasynql\result\SqlSelectResult#597993) #7 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/DataConnectorImpl(239): alvin0319\GroupsAPI\libs\poggit\libasynql\base\DataConnectorImpl::alvin0319\GroupsAPI\libs\poggit\libasynql\base\{closure}(array[1]) #8 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/SqlThreadPool(112): alvin0319\GroupsAPI\libs\poggit\libasynql\base\DataConnectorImpl->alvin0319\GroupsAPI\libs\poggit\libasynql\base\{closure}(array[1]) #9 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/DataConnectorImpl(323): alvin0319\GroupsAPI\libs\poggit\libasynql\base\SqlThreadPool->readResults(array[2]) #10 plugins/GroupsAPI_dev-10.phar/src/alvin0319/GroupsAPI/libs/poggit/libasynql/base/SqlThreadPool(65): alvin0319\GroupsAPI\libs\poggit\libasynql\base\DataConnectorImpl->checkResults() #11 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): alvin0319\GroupsAPI\libs\poggit\libasynql\base\SqlThreadPool->alvin0319\GroupsAPI\libs\poggit\libasynql\base\{closure}() #12 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() #13 pmsrc/src/Server(1660): pocketmine\snooze\SleeperHandler->sleepUntil(double 1647727203.9803) #14 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor() #15 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/) #16 pmsrc/src/PocketMine(327): pocketmine\server() #17 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php) --- End of exception information ---
PHP: 8.0.16 Pocketmine Version: 4.2.4 OS: linux GroupsAPI Version: 1.0.0 (dev10)
My rep in VanillaX plugin https://github.com/CLADevs/VanillaX/issues/162
I wanted to use GroupsAPI to manage perms in my server, but when I added it, this happened
I don't know if the problem comes from VanillaX or GroupsAPI, but I will report it in both githubs, this is the GroupsAPI code error
PHP: 8.0.16 Pocketmine Version: 4.2.4 OS: linux GroupsAPI Version: 1.0.0 (dev10)
My rep in VanillaX plugin https://github.com/CLADevs/VanillaX/issues/162