There are only 11 symbols in the file and I only used 11 of them for the ir2110 driver. I uploaded the wrong picture after adding two more pins, the problem was happening when the .subckt only had 11 pins as written in ir2110.lib file. Yes you are right about the MOSFET, I will import the MOSFET data into the symbol tomorrow morning. On the internet, people wrote to use dummy pins as there are 14 in total but some intermediate pin numbers are missing, for ex. Pin 4 and 8 are NC. They might be the cause of the problem. Still same error after removing dummy pins unfortunately.