menu
#10624920 Creation of dynamic property Angga7Togk\RankShop\Main::$config is deprecated

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Direct
Report date: 2024-04-03 05:27:03 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.2.17
JIT status: Not available
Operating system: linux
System banner: Linux e675bb87-933a-4144-94f9-c88e63c3ca6a 5.15.0-101-generic #111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64

Error information

Warning: the RankShop plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Creation of dynamic property Angga7Togk\RankShop\Main::$config is deprecated
File: plugins/RankShopFix_Darlexx (1).phar/src/Angga7Togk/RankShop/Main
Line: #26
Type: ErrorException
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

use Angga7Togk\RankShop\FormAPI\SimpleForm;

class Main extends PluginBase implements Listener{

public function onEnable() : void
{
$this->getServer()->getPluginManager()->registerEvents($this, $this);
$this->saveResource("rankshop.yml");
$this->config = new Config($this->getDataFolder() . "rankshop.yml", Config::YAML, []);

$this->eco = $this->getServer()->getPluginManager()->getPlugin("EconomyAPI");

}

public function onCommand(CommandSender $sender, Command $cmd, string $label, array $args) : bool {

if($cmd->getName() == "rankshop" && $sender instanceof Player){
$this->RankShop($sender);
}
#0 plugins/RankShopFix_Darlexx (1).phar/src/Angga7Togk/RankShop/Main(26): pocketmine\errorhandler\ErrorToExceptionHandler::handle(int 8192, string[76] Creation of dynamic property Angga7Togk\RankShop\Main::$config is deprecated, string[92] phar:///home/container/plugins/RankShopFix_Darlexx (1).phar/src/Angga7Togk/RankS, int 26)
#1 pmsrc/src/plugin/PluginBase(119): Angga7Togk\RankShop\Main->onEnable()
#2 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1404): pocketmine\plugin\PluginManager->enablePlugin(object Angga7Togk\RankShop\Main#44685)
#4 pmsrc/src/Server(1035): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#45256)
#5 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#6 pmsrc/src/PocketMine(373): pocketmine\server()
#7 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show