Use warning-label for unpublished sites
Replace category_type NULL values with ''
Don't allow NULL values on category_type field