You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure your issue complies with these guidelines:
Server Software must be the official PMMP w/o vanilla patching plugins (i.e. TeaSpoon)
Issue must have not been reported previously
Make sure you are on the latest version of PMMP & PiggyShopUI
Have a detailed title.
Issue Description
Expected result: Open the UI
Actual result: Crashed the server
Steps to Reproduce the Issue
Run /shop (category)
Server will crash
OS and Versions
PocketMine-MP: 4.3.0
PiggyShopUI: 3.0.1
PHP: 8.0.16
Server OS: Linux
[17:06:30.404] [Server thread/CRITICAL]: ErrorException: "preg_match(): Unknown modifier 'q'" (EXCEPTION) in "plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/args/StringEnumArgument" at line 59
Please make sure your issue complies with these guidelines:
Issue Description
Steps to Reproduce the Issue
OS and Versions
[17:06:30.404] [Server thread/CRITICAL]: ErrorException: "preg_match(): Unknown modifier 'q'" (EXCEPTION) in "plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/args/StringEnumArgument" at line 59
--- Stack trace ---
#0 (): pocketmine\errorhandler\ErrorToExceptionHandler::handle(integer 2, string[34] preg_match(): Unknown modifier 'q', string[127] phar:///home/container/plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/lib, integer 59)
#1 plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/args/StringEnumArgument(59): preg_match(string[76] /^(blocks|gear / equipment |raiding|farming|spawners|minerals|mob drops)$/iu, string[3] Mob)
#2 plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/traits/ArgumentableTrait(116): DaPigGuy\PiggyShopUI\libs\CortexPE\Commando\args\StringEnumArgument->canParse(string[3] Mob, object pocketmine\console\ConsoleCommandSender#113225)
#3 plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/BaseCommand(134): DaPigGuy\PiggyShopUI\libs\CortexPE\Commando\BaseCommand->parseArguments(array[2], object pocketmine\console\ConsoleCommandSender#113225)
#4 plugins/PiggyShopUI (2).phar/src/DaPigGuy/PiggyShopUI/libs/CortexPE/Commando/BaseCommand(111): DaPigGuy\PiggyShopUI\libs\CortexPE\Commando\BaseCommand->attemptArgumentParsing(object DaPigGuy\PiggyShopUI\commands\ShopCommand#130326, array[2])
#5 pmsrc/src/command/SimpleCommandMap(220): DaPigGuy\PiggyShopUI\libs\CortexPE\Commando\BaseCommand->execute(object pocketmine\console\ConsoleCommandSender#113225, string[4] shop, array[2])
#6 pmsrc/src/Server(1409): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\console\ConsoleCommandSender#113225, string[14] shop Mob Drops)
#7 pmsrc/src/Server(1041): pocketmine\Server->dispatchCommand(object pocketmine\console\ConsoleCommandSender#113225, string[14] shop Mob Drops)
#8 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine{closure}()
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#10 pmsrc/src/Server(1661): pocketmine\snooze\SleeperHandler->sleepUntil(double 1650560790.4271)
#11 pmsrc/src/Server(1047): pocketmine\Server->tickProcessor()
#12 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#13 pmsrc/src/PocketMine(327): pocketmine\server()
#14 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)
The text was updated successfully, but these errors were encountered: