menu
#7304192 Config problem: Database settings are missing or incorrect

Submitted by PocketMine-MP 4.6.1

General information

Version: 4.6.1
Git commit: b20e0453
Plugin involvement: Direct
Report date: 2022-08-05 22:36:20 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 4 seconds

System Information

PHP version: 8.0.19
Operating system: win
System banner: Windows NT WIN-RC84GDDBAKV 10.0 build 17763 (Windows Server 2016) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Config problem: Database settings are missing or incorrect
File: C:/Users/Administrator/Desktop/TurkCRise Faction Test/virions/libasynql/src/poggit/libasynql/libasynql
Line: #78
Error level: poggit\libasynql\ConfigException
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
	 * @param mixed               $configData the config entry for database settings
* @param string[]|string[][] $sqlMap an associative array with key as the SQL dialect ("mysql", "sqlite") and value as a string or string array indicating the relevant SQL files in the plugin's resources directory
* @param bool $logQueries whether libasynql should log the queries with the plugin logger at the DEBUG level. Default <code>!libasynql::isPackaged()</code>.
*
* @return DataConnector
* @throws SqlError if the connection could not be created
*/
public static function create(PluginBase $plugin, $configData, array $sqlMap, bool $logQueries = null) : DataConnector{
if(!is_array($configData)){
throw new ConfigException("Database settings are missing or incorrect");
}

$type = (string) $configData["type"];
if($type === ""){
throw new ConfigException("Database type is missing");
}

if(count($sqlMap) === 0){
throw new InvalidArgumentException('Parameter $sqlMap cannot be empty');
}
#0 plugins/Klan/src/DaPigGuy/PiggyFactions/PiggyFactions(129): poggit\libasynql\libasynql::create(object DaPigGuy\PiggyFactions\PiggyFactions#28633, false, array[2])
#1 plugins/Klan/src/DaPigGuy/PiggyFactions/PiggyFactions(85): DaPigGuy\PiggyFactions\PiggyFactions->initDatabase()
#2 pmsrc/src/plugin/PluginBase(117): DaPigGuy\PiggyFactions\PiggyFactions->onEnable()
#3 pmsrc/src/plugin/PluginManager(448): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1419): pocketmine\plugin\PluginManager->enablePlugin(object DaPigGuy\PiggyFactions\PiggyFactions#28633)
#5 pmsrc/src/Server(1024): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#25752)
#6 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[54] C:\Users\Administrator\Desktop\TurkCRise Faction Test\, string[62] C:\Users\Administrator\Desktop\TurkCRise Faction Test\plugins\)
#7 pmsrc/src/PocketMine(327): pocketmine\server()
#8 pmsrc(11): require(string[98] phar://C:/Users/Administrator/Desktop/TurkCRise Faction Test/PocketMine-MP.phar/)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show