Performing system_update_8701 [ok]
Performing comment_update_8700 [ok]
Performing system_update_8702 [ok]
Performing comment_update_8701 [ok]
Field storage definition for 'type' could not be found. [error]
Performing file_update_8700 [ok]
Performing node_update_8700 [ok]
Performing taxonomy_update_8701 [ok]
TypeError: Argument 3 passed to Drupal\views\EntityViewsData::mapFieldDefinition() must implement interface Drupal\Core\Field\FieldDefinitionInterface, null given, called in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 290 in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 387 #0 /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php(290): Drupal\views\EntityViewsData->mapFieldDefinition('file_managed', 'type', NULL, Object(Drupal\Core\Entity\Sql\DefaultTableMapping), Array)
#1 /Users/punya/htdocs/un-nip/core/modules/file/src/FileViewsData.php(16): Drupal\views\EntityViewsData->getViewsData()
#2 /Users/punya/htdocs/un-nip/core/modules/views/views.views.inc(178): Drupal\file\FileViewsData->getViewsData()
#3 [internal function]: views_views_data()
#4 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('views_views_dat...', Array)
#5 /Users/punya/htdocs/un-nip/core/modules/views/src/ViewsData.php(243): Drupal\Core\Extension\ModuleHandler->invoke('views', 'views_data')
#6 /Users/punya/htdocs/un-nip/core/modules/views/src/ViewsData.php(160): Drupal\views\ViewsData->getData()
#7 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php(91): Drupal\views\ViewsData->get('aggregator_feed')
#8 /Users/punya/htdocs/un-nip/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array)
#9 /Users/punya/htdocs/un-nip/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array)
#10 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(284): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#11 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(175): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#12 /Users/punya/htdocs/un-nip/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#13 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('fields')
#14 /Users/punya/htdocs/un-nip/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('fields', Array)
#15 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(817): Drupal\Component\Plugin\PluginManagerBase->createInstance('fields')
#16 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/style/StylePluginBase.php(122): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('row')
#17 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(820): Drupal\views\Plugin\views\style\StylePluginBase->init(Object(Drupal\views\ViewExecutable), Object(Drupal\views\Plugin\views\display\Page), Array)
#18 /Users/punya/htdocs/un-nip/core/modules/views/src/ViewExecutable.php(882): Drupal\views\Plugin\views\display\DisplayPluginBase->getPlugin('style')
#19 /Users/punya/htdocs/un-nip/core/modules/views/src/ViewExecutable.php(1842): Drupal\views\ViewExecutable->initStyle()
#20 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/display/PathPluginBase.php(132): Drupal\views\ViewExecutable->getTitle()
#21 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/display/Page.php(91): Drupal\views\Plugin\views\display\PathPluginBase->getRoute('agencies', 'page_1')
#22 /Users/punya/htdocs/un-nip/core/modules/views/src/Plugin/views/display/PathPluginBase.php(220): Drupal\views\Plugin\views\display\Page->getRoute('agencies', 'page_1')
#23 /Users/punya/htdocs/un-nip/core/modules/views/src/EventSubscriber/RouteSubscriber.php(120): Drupal\views\Plugin\views\display\PathPluginBase->collectRoutes(Object(Symfony\Component\Routing\RouteCoDrush command terminated abnormally due to an unrecoverable error. [error]
llection))
#24 [internal function]: Drupal\views\EventSubscriber\RouteSubscriber->routes()
#25 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Routing/RouteBuilder.php(146): call_user_func(Array)
#26 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php(83): Drupal\Core\Routing\RouteBuilder->rebuild()
#27 /Users/punya/htdocs/un-nip/core/includes/common.inc(1170): Drupal\Core\ProxyClass\Routing\RouteBuilder->rebuild()
#28 /Users/punya/drush/commands/core/drupal/update.inc(120): drupal_flush_all_caches()
#29 /Users/punya/drush/commands/core/drupal/batch.inc(163): drush_update_cache_rebuild(Object(DrushBatchContext))
#30 /Users/punya/drush/commands/core/drupal/batch.inc(111): _drush_batch_worker()
#31 /Users/punya/drush/includes/batch.inc(98): _drush_batch_command('117')
#32 /Users/punya/drush/commands/core/drupal/update.inc(230): drush_batch_command('117')
#33 /Users/punya/drush/commands/core/core.drush.inc(1227): _update_batch_command('117')
#34 /Users/punya/drush/includes/command.inc(422): drush_core_updatedb_batch_process('117')
#35 /Users/punya/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#36 /Users/punya/drush/includes/command.inc(199): drush_command('117')
#37 /Users/punya/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#38 /Users/punya/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#39 /Users/punya/drush/drush.php(12): drush_main()
#40 {main}
TypeError: Argument 3 passed to Drupal\views\EntityViewsData::mapFieldDefinition() must implement interface Drupal\Core\Field\FieldDefinitionInterface, null given, called in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 290 in Drupal\views\EntityViewsData->mapFieldDefinition() (line 387 of /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php).
Fatal error: Uncaught TypeError: Argument 3 passed to Drupal\views\EntityViewsData::mapFieldDefinition() must implement interface Drupal\Core\Field\FieldDefinitionInterface, null given, called in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 290 and defined in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php:387
Stack trace:
#0 /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php(290): Drupal\views\EntityViewsData->mapFieldDefinition('file_managed', 'type', NULL, Object(Drupal\Core\Entity\Sql\DefaultTableMapping), Array)
#1 /Users/punya/htdocs/un-nip/core/modules/file/src/FileViewsData.php(16): Drupal\views\EntityViewsData->getViewsData()
#2 /Users/punya/htdocs/un-nip/core/modules/views/views.views.inc(178): Drupal\file\FileViewsData->getViewsData()
#3 [internal function]: views_views_data()
#4 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('views_views_dat...', Array)
#5 /Users/punya/htdocs/un-nip in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 387
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Uncaught TypeError: Argument 3 passed to Drupal\views\EntityViewsData::mapFieldDefinition() must implement interface
Drupal\Core\Field\FieldDefinitionInterface, null given, called in
/Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php on line 290 and defined in
/Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php:387
Stack trace:
#0 /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php(290):
Drupal\views\EntityViewsData->mapFieldDefinition('file_managed', 'type', NULL,
Object(Drupal\Core\Entity\Sql\DefaultTableMapping), Array)
#1 /Users/punya/htdocs/un-nip/core/modules/file/src/FileViewsData.php(16): Drupal\views\EntityViewsData->getViewsData()
#2 /Users/punya/htdocs/un-nip/core/modules/views/views.views.inc(178): Drupal\file\FileViewsData->getViewsData()
#3 [internal function]: views_views_data()
#4 /Users/punya/htdocs/un-nip/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('views_views_dat...',
Array)
#5 /Users/punya/htdocs/un-nip in /Users/punya/htdocs/un-nip/core/modules/views/src/EntityViewsData.php, line 387
The external command could not be executed due to an application error. [error]
Finished performing updates.
Comments
Comment #2
amateescu commentedLooks like a duplicate of #3052204: Unable to update Drupal 8.6 to Drupal 8.7; Field storage definition for 'type' could not be found in file_update_8700(). Can you try the steps from comment #9 and #12 from that issue?
Comment #3
amateescu commentedComment #4
pameeela commented@punyaruchal: Thank you for posting this issue. If you'd like to help us make sure the 8.8.0 update is as smooth as possible, please consider signing up for the beta testing program at https://goo.gl/forms/bMBTMRSY3sKEscUJ3
Comment #5
piyushsms91 commentedHi All,
I am still getting the same error while using the Drupal Core version 8.8.1.
Any suggestion.