Nullable server + guard to avoid TypeError/NPE. Don't terminate the app, terminate the bug. Changes: - Made Server property nullable (?Server $server = null) in all 8 database General components - Added guard clause in mount() to check for null server before accessing it - Displays user-friendly error message when destination server is not configured - Prevents crashes in methods like isLogDrainEnabled() and sslCertificates() Fixed components: - Mariadb, Dragonfly, Clickhouse, Keydb - Mysql, Mongodb, Redis, Postgresql 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Backup | ||
| Clickhouse | ||
| Dragonfly | ||
| Keydb | ||
| Mariadb | ||
| Mongodb | ||
| Mysql | ||
| Postgresql | ||
| Redis | ||
| BackupEdit.php | ||
| BackupExecutions.php | ||
| BackupNow.php | ||
| Configuration.php | ||
| CreateScheduledBackup.php | ||
| Heading.php | ||
| Import.php | ||
| InitScript.php | ||
| ScheduledBackups.php | ||