Online Ordering is enabled as well as Takeout and Delivery services. At a certain point during the night near close when the kitchen is closed a customer receives the message:
"Take-out is not available but delivery still is.."
This is very likely a misconfiguration of time on the Takeout / Delivery Settings. These settings below when you start and stop accepting each type of order in relation to close and open.
In the example below, Takeout orders cannot be placed 2.5 hours before close, but Delivery can be ordered all the way to close, as it is set to 0 mins before close.
To fix this issue, change the number of minutes prior to close that Delivery Orders can no longer be accepted.