The problem could be a bad mold heater or a bad motor.
You can buy and replace them separate but I would recommend to replace the whole ice maker.
It is more reliable, easy and cost almost the same.
- The part number for the mold assembly is
AP3136288
- The part number for the motor is
AP4310544
- The part number for the ice maker is
AP2984633
Here are the break down diagrams for the Whirlpool refrigerator
Model ED2FHEXMT00
Gene.