The problem is the [ pairs ] section in the ligand itp (ligand_GMX_OPLS.itp) doesn't have the atom names pairs commented. This section accepts multiple numeric columns but no strings. So, ParmEd tries to convert this text into a float number.
To solve the problem, you can add the ";" character before the text, for example
[line 101] 1 4 1 ; C1 - C4
or remove it
[line 101] 1 4 1
from the lines 101 to 167. I recommend using a text-column editor like Kate to change all at the same time