menu
#4220492 Undefined index: custom

Submitted by PocketMine-MP 3.12.2

General information

Version: 3.12.2
Git commit: 9b6b3f50
Plugin involvement: Direct
Report date: 2020-05-23 05:15:16 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux 57ee6bcbc35d 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64

Error information

Warning: the CustomAlerts plugin was directly involved in this crash. Please contact the plugin author.
Message: Undefined index: custom
File: plugins/CustomAlerts.phar/src/CustomAlerts/CustomAlerts
Line: #102
Error level: ErrorException
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
    	return self::API_VERSION;
}

/**
* Check if motd is custom
*
* @return bool
*/
public function isMotdCustom() : bool {
return $this->cfg["Motd"]["custom"];
}

/**
* Get motd message
*
* @return string
*/
public function getMotdMessage(){
return TextFormat::colorize($this->replaceVars($this->cfg["Motd"]["message"], array(
"MAXPLAYERS" => $this->getServer()->getMaxPlayers(),
#0 plugins/CustomAlerts.phar/src/CustomAlerts/CustomAlerts(102): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[23] Undefined index: custom, string[82] phar:///aternos/server/plugins/CustomAlerts.phar/src/CustomAlerts/CustomAlerts.p, integer 102, array[0])
#1 plugins/CustomAlerts.phar/src/CustomAlerts/CustomAlerts(119): CustomAlerts\CustomAlerts->isMotdCustom()
#2 plugins/CustomAlerts.phar/src/CustomAlerts/MotdTask(25): CustomAlerts\CustomAlerts->updateMotd()
#3 src/pocketmine/scheduler/TaskHandler(134): CustomAlerts\MotdTask->onRun(integer 1)
#4 src/pocketmine/scheduler/TaskScheduler(176): pocketmine\scheduler\TaskHandler->run(integer 1)
#5 src/pocketmine/plugin/PluginManager(643): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1)
#6 src/pocketmine/Server(2380): pocketmine\plugin\PluginManager->tickSchedulers(integer 1)
#7 src/pocketmine/Server(2143): pocketmine\Server->tick()
#8 src/pocketmine/Server(1990): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1584): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#11 src/pocketmine/PocketMine(295): pocketmine\server()
#12 (11): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show