menu
#3228137 Nesting level too deep - recursive dependency?

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Direct
Report date: 2019-11-29 18:35:20 +0000 UTC

System Information

PHP version: 7.3.11
Operating system: linux
System banner: Linux b11251a1-13fb-4d0d-9893-f77a1886a695 4.15.0-69-generic #78-Ubuntu SMP Wed Nov 6 11:30:24 UTC 2019 x86_64

Error information

Warning: the TradePP plugin was directly involved in this crash. Please contact the plugin author.
Message: Nesting level too deep - recursive dependency?
File: plugins/TradePP_v2.phar/src/tungst_tradePP/Main
Line: #90
Error level: E_ERROR
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
				 case "decline":
if(in_array($sender,$this->request)){
unset($this->request[array_search($sender,$this->request)]);
$sender->sendMessage("§aDecline successful");
}else{
$sender->sendMessage("§cYou dont have any trade request");
}
break;
default:
if($this->getServer()->getPlayer($args[0]) != null && $this->getServer()->getPlayer($args[0]) != $sender){
$this->request[$sender->getName()] = $this->getServer()->getPlayer($args[0])->getName();
$this->getServer()->getPlayer($args[0])->sendMessage("§a".$sender->getName(). " want to trade with you,auto decline after 30s");
$sender->sendMessage("§aSent a request to ".$this->getServer()->getPlayer($args[0])->getName());
$this->getScheduler()->scheduleDelayedTask(new CheckTask($this,$sender->getName(),$this->getServer()->getPlayer($args[0])->getName()), 1200);
}else{
$sender->sendMessage("§cCant find that player");
}

break;
}

Loaded Plugins

  • Show

Server Settings

  • Show