menu
#7862049 Class "Melod\SQL\Query\SqlQuery" not found

Submitted by PocketMine-MP 5.0.0-ALPHA5

General information

Version: 5.0.0-ALPHA5
Git commit: 90305a0b
Plugin involvement: Direct
Report date: 2022-11-24 11:55:19 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.1.11
JIT status: Not available
Operating system: mac
System banner: Darwin dohwi-Macbook-Air.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Class "Melod\SQL\Query\SqlQuery" not found
File: plugins/Core/src/Core
Line: #22
Error level: Error
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
final class Core extends PluginBase
{
protected function onEnable(): void
{
SqlHelper::register();
SqlHelper::query(new TestQuery());
}
}

final class TestQuery extends SqlQuery
{
public function getQuery(): string
{
return "show databases;";
}

public function handleResult(array $result): void
{
var_dump($result);
}
#0 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(93): include()
#1 pmsrc/vendor/pocketmine/classloader/src/BaseClassLoader(83): BaseClassLoader->loadClass(string[10] Melod\Core)
#2 (): BaseClassLoader->{closure}(string[10] Melod\Core)
#3 pmsrc/src/plugin/PluginManager(149): class_exists(string[10] Melod\Core, true)
#4 pmsrc/src/plugin/PluginManager(368): pocketmine\plugin\PluginManager->internalLoadPlugin(string[41] /Users/dohwi/Documents/Melod/plugins/Core, object DevTools\FolderPluginLoader#34805, object pocketmine\plugin\PluginDescription#34811)
#5 pmsrc/src/Server(1013): pocketmine\plugin\PluginManager->loadPlugins(string[37] /Users/dohwi/Documents/Melod/plugins/, int 0)
#6 pmsrc/src/PocketMine(328): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#4, string[29] /Users/dohwi/Documents/Melod/, string[37] /Users/dohwi/Documents/Melod/plugins/)
#7 pmsrc/src/PocketMine(351): pocketmine\server()
#8 pmsrc(11): require(string[73] phar:///Users/dohwi/Documents/Melod/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show