Can you post the actual model number of the appliance please?
Has the machine stopped full or empty of water?
My dishwasher - Whirlpool 6th Sense ADP5966.
Empty of water.
Just doesnt work!
Take out the bottom basket and the filters.
Look into the sump, on the right wall of the sump should be a small hole and a lens.
Clean this lens.
Pour a kettle of very hot water into the sump, getting as much into/over the lens as possible.
Once cleaned, try the machine again.
If this doesn't work you will need to replace the optical water indicator to repair the appliance.
Check it out, see what happens.
Hope this helps
Let me know how it goes or if you need more help
I'm really surprised that it's not working after replacing the optical water indicator.
What happened when you replaced it?
Was it the same error code?