It's recommended to reset the database (stop the server and delete the database.db file) as most likely the one you're currently using is corrupted. If you don't want players to claim today's gift again (1st December) just remove the item with day number 1 from adventcalendar.yml.