"Drupal\Component\Plugin\Exception\PluginNotFoundException: The 'integer' plugin does not exist." When I try to update from drupal 8.27 to 8.35, I get the following error. How can I resolve this issue?


  Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "integer" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of C:\Users\ven_arajendra\Sites\devdesktop\offshore2-dev\docroot\core\lib\Drupal\Component\Plugin\Discovery\DiscoveryTrait.php).
As an option just try to add this code in the enabled custom module in your project.

/**
 * Implements hook_entity_base_field_info_alter().
 */
function custom_entity_base_field_info_alter(&amp;$fields, EntityTypeInterface $entity_type) {
  /** @var \Drupal\Core\Field\BaseFieldDefinition[] $fields */
  if ($entity_type-&gt;id() === 'menu_link_content' &amp;&amp; isset($fields['weight'])) {
    $options = $fields["weight"]-&gt;getDisplayOptions('view');
    // Lets check if field definition is buggy.
    if ($options['type'] === 'integer') {
      $options['type'] = 'number_integer';
      // @TODO: This should be fixed in the menu_link_content core module.
      // @see https://www.drupal.org/node/2903161
      $fields['weight']-&gt;setDisplayOptions('view', $options);
    }
  }
}


Or try to use this patch from this issue