menu
#9249706 Cannot make non static method pocketmine\plugin\PluginBase::getResourcePath() static in class platz1de\EasyEdit\EasyEdit

Submitted by PocketMine-MP 5.5.0

General information

Version: 5.5.0
Git commit: c8d357f4
Plugin involvement: Direct
Report date: 2023-09-19 17:23:41 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 8.1.22
JIT status: Not available
Operating system: linux
System banner: Linux 49dac66e-f7e3-4ae8-87ed-d49312091b23 5.10.0-25-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Cannot make non static method pocketmine\plugin\PluginBase::getResourcePath() static in class platz1de\EasyEdit\EasyEdit
File: plugins/nEasyEdit.phar/src/platz1de/EasyEdit/EasyEdit
Line: #170
Type: E_COMPILE_ERROR
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
	public static function getInstance(): self
{
return self::$instance;
}

/**
* @return string
* @internal
*/
public static function getResourcePath(): string
{
return self::getInstance()->getFile() . "resources";
}

/**
* @return string
*/
public static function getSchematicPath(): string
{
return self::getInstance()->getDataFolder() . "schematics" . DIRECTORY_SEPARATOR;

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show