Hi,
I am using drupal 8.4.4.
When i tried to install any new module get WSOD. Checked log and got php notice.
Notice: Undefined index: uuid in Drupal\views\EntityViewsData->mapFieldDefinition() (line 373 of /var/www/site/web/core/modules/views/src/EntityViewsData.php) #0 /var/www/site/web/core/includes/bootstrap.inc(566): _drupal_error_handler_real(8, 'Undefined index...', '/var/www/site/w...', 373, Array) #1 /var/www/site/web/core/modules/views/src/EntityViewsData.php(373): _drupal_error_handler(8, 'Undefined index...', '/var/www/site/w...', 373, Array) #2 /var/www/site/web/core/modules/views/src/EntityViewsData.php(273): Drupal\views\EntityViewsData->mapFieldDefinition('block_content', 'uuid', Object(Drupal\Core\Field\BaseFieldDefinition), Object(Drupal\Core\Entity\Sql\DefaultTableMapping), Array) #3 /var/www/site/web/core/modules/block_content/src/BlockContentViewsData.php(17): Drupal\views\EntityViewsData->getViewsData() #4 /var/www/site/web/core/modules/views/views.views.inc(170): Drupal\block_content\BlockContentViewsData->getViewsData() #5 [internal function]: views_views_data() #6 /var/www/site/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(391): call_user_func_array('views_views_dat...', Array) #7 /var/www/site/web/core/modules/views/src/ViewsData.php(245): Drupal\Core\Extension\ModuleHandler->invoke('views', 'views_data') #8 /var/www/site/web/core/modules/views/src/ViewsData.php(162): Drupal\views\ViewsData->getData() #9 /var/www/site/web/core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php(91): Drupal\views\ViewsData->get('block_content') #10 /var/www/site/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\views\Plugin\Derivative\ViewsEntityRow->getDerivativeDefinitions(Array) #11 /var/www/site/web/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) #12 /var/www/site/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(283): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() #13 /var/www/site/web/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(174): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() #14 /var/www/site/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() #15 ```
Comments
Comment #2
lendudeI'm pretty sure that a PHP notice will not result in a WSOD.
So try to look at some other logs (apache, sql, maybe try stepping through a page with xdebug) and see if you can find more errors.
And I'm pretty sure this doesn't happen on a clean 8.4.4 install so it has to be something specific in your install.
So maybe try switching of modules and see if you can pinpoint which one is causing problems.
Comment #3
eugis commentedHi @mudassar774, just faced the same issue while installing modules. What was the issue for you?
UPDATE: there was some DB updates missing for me. Update.php solved the problem.
Comment #4
pameeela commentedThanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)".
Since there weren't other steps to reproduce the issue provided since the issue was postponed, I'm marking the issue "Closed (cannot reproduce)". If anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".
Thanks!