Membership cancellation request

WordPress database error: [Column 'role' cannot be null]
INSERT INTO `wp_user_cancel_subscription` (`user_id`, `role`, `status`) VALUES (0, NULL, 'cancelled')

'Thank you! Your Cancellation request has been Received. We will contact you shortly.'