Seems that if we tap card at 11:00PM and left the next day.. there is no register for the out, checked the script seems the logout checks for card with the "card_out" value and tries to update timeout value with the date of next day which is not existing.
Seems that if we tap card at 11:00PM and left the next day.. there is no register for the out, checked the script seems the logout checks for card with the "card_out" value and tries to update timeout value with the date of next day which is not existing.