If you encounter this error during rename on MediaWiki 1.33 or newer, remove any instance of $wgActorTableSchemaMigrationStage in LocalSettings.php, because this setting has been deleted in 1.33 but this extension is trying to fallback to the old behavior if defined with some specific values.
Topic on Manual talk:Renameuser/Archive 3
Appearance