Closed Moto-Sniper closed 2 years ago
Write the issue description here
<html> <body> <!--StartFragment--> 2021-10-02 [21:14:21] [Server thread/INFO]: Enabling AuctionHouse v1.3.0 -- | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: TypeError: "str_replace(): Argument #3 ($subject) must be of type array\|string, int given" (EXCEPTION) in "plugins/AuctionHouse.phar/src/shock95x/auctionhouse/utils/Locale" at line 42 | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #0 plugins/AuctionHouse.phar/src/shock95x/auctionhouse/utils/Locale(42): str_replace(string[1] &, string[2] .., integer 2) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #1 (): shock95x\auctionhouse\utils\Locale::shock95x\auctionhouse\utils\{closure}(integer 2, string[12] lang-version) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #2 plugins/AuctionHouse.phar/src/shock95x/auctionhouse/utils/Locale(43): array_walk_recursive(array[53], object Closure) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #3 plugins/AuctionHouse.phar/src/shock95x/auctionhouse/utils/Locale(23): shock95x\auctionhouse\utils\Locale::loadLanguages(string[33] /server/plugin_data/AuctionHouse/) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #4 plugins/AuctionHouse.phar/src/shock95x/auctionhouse/AuctionHouse(53): shock95x\auctionhouse\utils\Locale::init(object shock95x\auctionhouse\AuctionHouse) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #5 pmsrc/src/pocketmine/plugin/PluginBase(116): shock95x\auctionhouse\AuctionHouse->onEnable() | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #6 pmsrc/src/pocketmine/plugin/PluginManager(552): pocketmine\plugin\PluginBase->setEnabled(boolean 1) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #7 pmsrc/src/pocketmine/Server(1785): pocketmine\plugin\PluginManager->enablePlugin(object shock95x\auctionhouse\AuctionHouse) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #8 pmsrc/src/pocketmine/Server(1771): pocketmine\Server->enablePlugin(object shock95x\auctionhouse\AuctionHouse) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #9 pmsrc/src/pocketmine/Server(1584): pocketmine\Server->enablePlugins(integer 1) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #10 pmsrc/src/pocketmine/PocketMine(314): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[8] /server/, string[16] /server/plugins/) | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #11 pmsrc/src/pocketmine/PocketMine(344): pocketmine\server() | 2021-10-02 [21:14:21] [Server thread/CRITICAL]: #12 pmsrc(11): require(string[56] phar:///server/server.phar/src/pocketmine/PocketMine.php) | 2021-10-02 [21:14:21] [Server thread/INFO]: Disabling AuctionHouse v1.3.0 <!--EndFragment--> </body> </html>
Same thing here
Issue description
Write the issue description here
Steps to reproduce the issue
OS and versions
Error/Crash log (If available)