Hey i am Programming on a Report Plugin and have an error I think - ahm- I know its my fail And I need some help I add this to log the Report PHP: $this->onReport = new Config($this->getDataFolder() . $reportet, Config::YAML); $this->grund = $grund; $this->getConfig()->save(); But its only create a empty config How can help me
You didn't put any data into the config, at least as far as we can know from your post. What would you even expect to be in the config?
Then you have to set it to the config. PHP: $this->onReport = new Config(...);$this->onReport->setAll($grund);$this->onReport->save();