Open suerion opened 4 years ago
[06:44:44] [Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/HRKMigrator_dev-3.phar/src/CortexPE/HRKMigrator/Main" at line 165 [06:44:44] [Server thread/DEBUG]: #0 plugins/HRKMigrator_dev-3.phar/src/CortexPE/HRKMigrator/Main(165): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string[39] Invalid argument supplied for foreach(), string[120] phar:///home/minecraft/multicraft/servers/PE/pocketmine/plugins/HRKMigrator_dev-, integer 165, array[18]) [06:44:44] [Server thread/DEBUG]: #1 plugins/HRKMigrator_dev-3.phar/src/CortexPE/HRKMigrator/Main(81): CortexPE\HRKMigrator\Main->doMigration()
foreach($pData["permissions"] as $permission) {
$t = self::ensurePermission($permission);
if($t !== null) {
if($t[1]) {
$member->addMemberPermission($t[0]);
} else {
$member->denyMemberPermission($t[0]);
}
}
}
I had found an Problem, PurePerms is write in the Member File sometimes a ~, it kills HRK Migration, after deleting this Symbol, the Migration are finished with all players
Please look at this Link
https://github.com/CortexPE/Hierarchy/pull/29#issuecomment-627105427