diff --git wp-includes/taxonomy.php wp-includes/taxonomy-46010.php
index 5bf03fc..4b745ae 100755
--- wp-includes/taxonomy.php
+++ wp-includes/taxonomy-46010.php
@@ -2113,6 +2113,13 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) {
 	}
 
 	$slug = wp_unique_term_slug( $slug, (object) $args );
+	
+	/**
+	 * Let's check if the slug length is < 200 characters
+	 */
+	if( strlen( $slug ) >= 200 ) {
+		return new WP_Error( 'db_insert_error', __( 'A slug cannot be more than 200 characters long.' ), $wpdb->last_error );
+	}
 
 	$data = compact( 'name', 'slug', 'term_group' );
 
