Hi Devid,
Does that mean you tried it with other GROMACS versions and it worked? I don’t know what exactly your steps are, but like I said, the issue is not that OPLS and Amber force fields aren’t compatible with GROMACS, but that they not compatible with each other. That means, if you’re using e.g. LigParGen/OPLS to generate your ligand.itp file, you should also use the OPLS force field for the rest of your topology. GROMACS doesn’t care what the atom types are called, as long as they match. If you only tell it about the OPLS atom types like opls_XXX, but then you add atoms that have an Amber-style atom type (e.g. p5, oh), gromacs won’t know what to do with that.
If you’re willing to share your .top and .itp files, maybe we could help you in more detail.