menu
#4774456 Invalid base version "1.11 - 1.16.x", should contain at least 3 version digits

Submitted by PocketMine-MP 3.17.5

General information

Version: 3.17.5
Git commit: 3a0c8dd5
Plugin involvement: Indirect
Report date: 2021-02-22 20:38:10 +0000 UTC
Server uptime: 0 days 0 hours 19 minutes 47 seconds

System Information

PHP version: 7.4.15
Operating system: linux
System banner: Linux vmkgsznc.24serv.cloud 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64

Error information

Warning: the TexterT plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Invalid base version "1.11 - 1.16.x", should contain at least 3 version digits
File: pmsrc/src/pocketmine/utils/VersionString
Line: #57
Error level: InvalidArgumentException
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
	private $development = false;

public function __construct(string $baseVersion, bool $isDevBuild = false, int $buildNumber = 0){
$this->baseVersion = $baseVersion;
$this->development = $isDevBuild;
$this->build = $buildNumber;

preg_match('/^(\d+)\.(\d+)\.(\d+)(?:-(.*))?$/', $this->baseVersion, $matches);
if(count($matches) < 4){
throw new \InvalidArgumentException("Invalid base version \"$baseVersion\", should contain at least 3 version digits");
}

$this->major = (int) $matches[1];
$this->minor = (int) $matches[2];
$this->patch = (int) $matches[3];
$this->suffix = $matches[4] ?? "";
}

public function getNumber() : int{
return (($this->major << 9) | ($this->minor << 5) | $this->patch);
#0 plugins/Text_T2.phar/src/TuxoH/Texter/Core(108): pocketmine\utils\VersionString->__construct(string[13] 1.11 - 1.16.x)
#1 plugins/Text_T2.phar/src/TuxoH/Texter/task/CheckUpdateTask(42): TuxoH\Texter\Core->compareVersion(boolean 1, object pocketmine\utils\VersionString, string[64] https://github.com/fuyutsuki/Texter/releases/tag/release/v3.4.13)
#2 pmsrc/src/pocketmine/scheduler/AsyncPool(319): TuxoH\Texter\task\CheckUpdateTask->onCompletion(object pocketmine\Server)
#3 pmsrc/src/pocketmine/Server(2394): pocketmine\scheduler\AsyncPool->collectTasks()
#4 pmsrc/src/pocketmine/Server(2153): pocketmine\Server->tick()
#5 pmsrc/src/pocketmine/Server(1993): pocketmine\Server->tickProcessor()
#6 pmsrc/src/pocketmine/Server(1587): pocketmine\Server->start()
#7 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[6] /root/, string[14] /root/plugins/)
#8 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#9 pmsrc(11): require(string[61] phar:///root/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show