Asgaros Forum uses a custom system to detect the forums & subforums URL that interferes with Permalink Manager custom permalinks filters.
To avoid the conflict and exclude the forums & subforums to be detected by Permalink Manager please select “Forum” page in Asgaros Forum plugin settings:
After that, please copy the following snippet and paste it to functions.php in (child) theme directory.