Broken/Missing Handers in View

So one of my views has a few broken/missing handlers. It was working fine up until yesterday. I run composer update --no-dev --with-dependacies and a lot of files updated. After which i run drush updb and drush entup .A lot of files were updated. As far as i can tell, only views were affected. This view is an ordinary view, you can see in image bellow.View with broken/missing hanlders

Those missing hanlders were ordinary fields, two were textfields and last one was a media entity. When i try to remove the handlers, and add those fields again they are not in the list of available fields, as a matter of fact no custom fields [over 30], are available to be added only the default fields [Id, title, revision], not even the Body field is there.

One thing i did find, is that one of my colleagues run a db_script which was supposed to back up certain db_tables, but it only emptied the tables [affected tables were: key_value, key_value_expire, media, router, sessions].

composer.json:

{ "name": "drupal/drupal", "description": "Drupal is an open source content management platform powering millions of websites and applications.", "type": "project", "license": "GPL-2.0+", "require": {     "composer/installers": "^1.0.24",     "wikimedia/composer-merge-plugin": "~1.3",     "drupal/core": "^8.5",     "drupal/easy_breadcrumb": "^1.6",     "drupal/pathauto": "^1.1",     "drupal/search_api": "^1.7",     "drupal/adminimal_admin_toolbar": "^1.0",     "drupal/token": ">=1.0",     "drupal/rules": "3.0-alpha3",     "drupal/search_api_solr": "^1.2",     "drupal/ctools": "3.0",     "symfony/property-access": "^3.2",     "drupal/salesforce": "^3.0@RC",     "drupal/dynamic_entity_reference": "^2.0",     "drupal/features": "^3.5",     "drupal/crop": "^2.0",     "drupal/focal_point": "^1.0@beta",     "drupal/dropzonejs": "^2.0",     "drupal/config_ignore": "^2.1",     "drupal/embed": "^1.0",     "drupal/entity_browser": "^2.0",     "drupal/media_entity": "^2.0",     "drupal/acquia_connector": "^1.14",     "drupal/field_group": "^3.0",     "drupal/entity_reference_revisions": "^1.4",     "drupal/metatag": "^1.4",     "drupal/reroute_email": "^1.0",     "drupal/devel": "^1.2",     "drupal/kint": "^1.2",     "drupal/twig_xdebug": "^1.0",     "drupal/better_exposed_filters": "^3.0@alpha",     "drupal/config_filter": "^1.2",     "drupal/entity":"^1.0",     "drupal/entity_block": "^1.0",     "drupal/entity_embed": "^1.0",     "drupal/file_browser": "^1.1",     "drupal/inline_entity_form":"^1.0",     "drupal/media_entity_image": "^1.2",     "drupal/smtp":"^1.0",     "drupal/typed_data":"^1.0",     "drupal/viewfield":"^3.0",     "drupal/media_entity_actions":"^1.0"  }, "minimum-stability": "dev", "prefer-stable": true, "config": {     "preferred-install": "dist",     "autoloader-suffix": "Drupal8" }, "extra": {     "merge-plugin": {         "include": [             "core/composer.json"         ],         "recurse": false,         "replace": false,         "merge-extra": false     },     "installer-paths": {         "core": ["type:drupal-core"],         "profiles/schools/modules/contrib/{$name}": ["type:drupal-module"],         "profiles/contrib/{$name}": ["type:drupal-profile"],         "profiles/schools/themes/contrib/{$name}": ["type:drupal-theme"],         "drush/contrib/{$name}": ["type:drupal-drush"],         "profiles/schools/modules/custom/{$name}": ["type:drupal-custom-module"],         "profiles/schools/themes/custom/{$name}": ["type:drupal-custom-theme"]     } }, "autoload": {     "psr-4": {         "Drupal\Core\Composer\": "core/lib/Drupal/Core/Composer"     } }, "scripts": {     "pre-autoload-dump": "Drupal\Core\Composer\Composer::preAutoloadDump",     "post-autoload-dump": [       "Drupal\Core\Composer\Composer::ensureHtaccess"     ],     "post-package-install": "Drupal\Core\Composer\Composer::vendorTestCodeCleanup",     "post-package-update": "Drupal\Core\Composer\Composer::vendorTestCodeCleanup" }, "repositories": [     {         "type": "composer",         "url": "https://packages.drupal.org/8"     } ], "require-dev": { } 

}

Drupal 8.5.4 Drupal status: 0 errors, 1 notice [irrelevant to this]

Any ideas?

UPDATE: fixed [partially], i imported the data for the key_value & key_value_expire tables from another database (my dev db).

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Broken/Missing Handers in View

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.