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

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: Direct
Report date: 2022-11-24 11:28:32 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux bc1b2fb2-ddc9-429d-972e-eb1d376a7862 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64

Error information

Warning: the AdvanceDeaths plugin was directly involved in this crash. Please contact the plugin author.
Message: Config problem: Database settings are missing or incorrect
File: plugins/AdvanceDeaths (1).phar/src/ErikPDev/AdvanceDeaths/libs/poggit/libasynql/libasynql
Line: #78
Error level: ErikPDev\AdvanceDeaths\libs\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/AdvanceDeaths (1).phar/src/ErikPDev/AdvanceDeaths/utils/DatabaseProvider(32): ErikPDev\AdvanceDeaths\libs\poggit\libasynql\libasynql::create(object ErikPDev\AdvanceDeaths\Main#23255, false, array[2])
#1 plugins/AdvanceDeaths (1).phar/src/ErikPDev/AdvanceDeaths/Main(61): ErikPDev\AdvanceDeaths\utils\DatabaseProvider->prepare()
#2 pmsrc/src/plugin/PluginBase(117): ErikPDev\AdvanceDeaths\Main->onEnable()
#3 pmsrc/src/plugin/PluginManager(451): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#4 pmsrc/src/Server(1421): pocketmine\plugin\PluginManager->enablePlugin(object ErikPDev\AdvanceDeaths\Main#23255)
#5 pmsrc/src/Server(1026): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#21921)
#6 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#7 pmsrc/src/PocketMine(328): pocketmine\server()
#8 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show