you could use acpype to generate topology file for your ligand.
this will generate topology and coordinate file for your ligand after that add (; Include ligand topology) to the topol.top after the (; Include forcefield parameters) to avoid any further errors.