menu
#4220644 Cannot redeclare backup() (previously declared in phar:///home/container/plugins/ServerBackup_v1.0.0_1.phar/src/serverbackup/backup.php:2)

Submitted by PocketMine-MP 3.12.2

General information

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

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux 9c873f6b-c604-4834-a71d-4243d8b69c97 4.4.0-177-generic #207-Ubuntu SMP Mon Mar 16 01:16:10 UTC 2020 x86_64

Error information

Warning: the ServerBackup plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot redeclare backup() (previously declared in phar:///home/container/plugins/ServerBackup_v1.0.0_1.phar/src/serverbackup/backup.php:2)
File: plugins/ServerBackup_v1.0.0_1.phar/src/serverbackup/backup
Line: #33
Error level: E_COMPILE_ERROR
24
25
26
27
28
29
30
31
32
33
        }
mkdir($backupdir_time . "/worlds/" . $dir);
copy($pocketminedir . "worlds/" . $dir . "/level.dat", $backupdir_time . "/worlds/" . $dir . "/level.dat");
mkdir($backupdir_time . "/worlds/" . $dir . "/region");
foreach(glob($pocketminedir . "worlds/" . $dir . "/region/*") as $path_worldfile) {
$worldfile = str_replace('./worlds/' . $dir . '/region/', '', $path_worldfile);
copy($pocketminedir . "worlds/" . $dir . "/region/" . $worldfile, $backupdir_time . "/worlds/" . $dir . "/region/" . $worldfile);
}
}
}

Loaded Plugins

  • Show

Server Settings

  • Show