I checked the sensors and they are fine. I adjusted the closing point. Yet it still only stays closed sometimes. It's intermittent.
If you've already tried adjusting the lower limit, then it could be that you have a failure in the limit switch.
On a newer opener this will be a device to count movement, but I would expect you would be having problems at the upper end as well if this were the case.
If the opener is old enough to have mechanical upper/lower limit switches, perhaps one of those if failing.
Given that it sometimes stays down, you should be able to confirm this:
Set the lower limit so that when it stays down, it sits a couple inches above the floor.
Then see if when it fails, it goes all the way to the floor. This would indicate that the limit switch was not seen. Could be a bad switch, connections, corrosion etc.
Dave