AttributeError: 'Meta' object has no attribute 'queue_in_background'

When I submit an attendance record, I get this error
“AttributeError: ‘Meta’ object has no attribute ‘queue_in_background’”