We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PocketMine-MP Crash Dump Wed Jun 7 07:06:17 UTC 2023
PocketMine-MP version: 5.0.1 [Protocol 582] Git commit: 2f43ccea6f25014668a7a6d5686304b73b62336a PHP version: 8.1.19 OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: ProperDuels
Error: Missing required variable secondSpawnPosX File: plugins/ProperDuels.phar/src/JavierLeon9966/ProperDuels/libs/poggit/libasynql/generic/GenericStatementImpl Line: 201
//removed error backtrace, i didn't mean to mention other issues, wtf
Code: [192] public function format(array $vars, ?string $placeHolder, ?array &$outArgs) : array{ [193] $outArgs = []; [194] $queries = []; [195] [196] foreach($this->query as $bufferId => $buffer) { [197] $outArgs[$bufferId] = []; [198] [199] foreach($this->variables as $variable){ [200] if(!$variable->isOptional() && !array_key_exists($variable->getName(), $vars)){ [201] throw new InvalidArgumentException("Missing required variable {$variable->getName()}"); [202] } [203] } [204] [205] $query = ""; [206] [207] $lastPos = 0; [208] foreach($this->varPositions[$bufferId] as $pos => $name){ [209] $query .= mb_substr($buffer, $lastPos, $pos - $lastPos); [210] $value = $vars[$name] ?? $this->variables[$name]->getDefault(); [211] try{
command tried: /arena create test 954 47 543 954 47 933 testkit
The text was updated successfully, but these errors were encountered:
version 2.3.0 for PM 5.0.1
Sorry, something went wrong.
425a6bc
No branches or pull requests
PocketMine-MP Crash Dump Wed Jun 7 07:06:17 UTC 2023
PocketMine-MP version: 5.0.1 [Protocol 582]
Git commit: 2f43ccea6f25014668a7a6d5686304b73b62336a
PHP version: 8.1.19
OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: ProperDuels
Error: Missing required variable secondSpawnPosX
File: plugins/ProperDuels.phar/src/JavierLeon9966/ProperDuels/libs/poggit/libasynql/generic/GenericStatementImpl
Line: 201
//removed error backtrace, i didn't mean to mention other issues, wtf
Code:
[192] public function format(array $vars, ?string $placeHolder, ?array &$outArgs) : array{
[193] $outArgs = [];
[194] $queries = [];
[195]
[196] foreach($this->query as $bufferId => $buffer) {
[197] $outArgs[$bufferId] = [];
[198]
[199] foreach($this->variables as $variable){
[200] if(!$variable->isOptional() && !array_key_exists($variable->getName(), $vars)){
[201] throw new InvalidArgumentException("Missing required variable {$variable->getName()}");
[202] }
[203] }
[204]
[205] $query = "";
[206]
[207] $lastPos = 0;
[208] foreach($this->varPositions[$bufferId] as $pos => $name){
[209] $query .= mb_substr($buffer, $lastPos, $pos - $lastPos);
[210] $value = $vars[$name] ?? $this->variables[$name]->getDefault();
[211] try{
command tried:
/arena create test 954 47 543 954 47 933 testkit
The text was updated successfully, but these errors were encountered: