ErrorException: "Use of undefined constant D - assumed 'D' (this will throw an Error in a future version of PHP)" (EXCEPTION) in "plugins/Svile/src/svile/sw/SWmain" at line 193 Code: PHP: function OnlineBarWorld(){ foreach($this->getServer()->getOnlinePlayers() as $p){ if($p->getLevel()->getFolderName() == 'lobby'){ $online = count($this->getServer()->getOnlinePlayers()); $money = $this->economy132->myMoney($p->getName()); $kill = $this->cfg2->get($p->getName()); $win = $this->cfg1->get($p->getName()); $game = $this->cfg3->get($p->getName()); $nickname = strtolower($p->getName()); $space = str_repeat(" ", 75); $p->sendTip($space ." §a>> §eHUYTER §a<<\n\n". $space ."§fPlayer: §c{$online}\n". $space ."§fMoney: §c{$money}\n\n". $space ."§fKills: §c{$kill}\n". $space ."§fsouls:§a ". D ."§r\n". $t ."§fwin: §a{$win}\n". $space ."§fGame: §c{$game}\n". $space ."§fshop.Test.ru\n". str_repeat("\n", 13)); } } }
line 193? [EDIT] considering this as line 193 PHP: $p->sendTip($space ." §a>> §eHUYTER §a<<\n\n". $space ."§fPlayer: §c{$online}\n". $space ."§fMoney: §c{$money}\n\n". $space ."§fKills: §c{$kill}\n". $space ."§fsouls:§a ". D ."§r\n". $t ."§fwin: §a{$win}\n". $space ."§fGame: §c{$game}\n". $space ."§fshop.Test.ru\n". str_repeat("\n", 13)); } read the error. constant D is not defined. what are you using "D" for anyways... i suggest using vars