Hi @sabasu,
This error is usually caused by formatting issues, often if the taxonomies do not have even levels. Since you are combining 16S + 18S, I suspect that may be the case — e.g., the 16S is 7 levels but the 18S is not.
This topic has a bash command to figure out the number of ranks on each line of the taxonomy file: