error Code: 22:49:32] [Server thread/CRITICAL]: Could not execute task AdvancedKits\tasks\CoolDownTask: Invalid argument supplied for foreach() [22:49:32] [Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/AdvancedKits-master/src/AdvancedKits/Kit" at line 143 code where error say PHP: public function processCoolDown(){ foreach($this->coolDowns as $player => $min){ $this->coolDowns[$player] -= 1; if($this->coolDowns[$player] <= 0){ unset($this->coolDowns[$player]); } } }
This is not your plugin and you should report it to the offical owner to fix the fault in their plugin