Dashboard stopped working

Created on 18 January 2022, almost 3 years ago
Updated 17 April 2024, 8 months ago

Problem/Motivation

When i want to go to dashboard site shows

The website encountered an unexpected error. Please try again later.

In apache logs i can see error:

[Tue Jan 18 14:51:25.878894 2022] [php7:notice] [pid 31776] [client x.x.x.x:50022] TypeError: Argument 1 passed to Drupal\\charts\\Plugin\\views\\style\\ChartsPluginStyleChart::getSelectedDataFields() must be of the type array, null given, called in /home/beery/ekoamator/docroot/modules/contrib/charts/src/Plugin/views/style/ChartsPluginStyleChart.php on line 197 in /home/beery/ekoamator/docroot/modules/contrib/charts/src/Plugin/views/style/ChartsPluginStyleChart.php on line 578 #0 /home/beery/ekoamator/docroot/modules/contrib/charts/src/Plugin/views/style/ChartsPluginStyleChart.php(197): Drupal\\charts\\Plugin\\views\\style\\ChartsPluginStyleChart->getSelectedDataFields()\n#1 /home/beery/ekoamator/docroot/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2170): Drupal\\charts\\Plugin\\views\\style\\ChartsPluginStyleChart->render()\n#2 /home/beery/ekoamator/docroot/core/modules/views/src/ViewExecutable.php(1533): Drupal\\views\\Plugin\\views\\display\\DisplayPluginBase->render()\n#3 /home/beery/ekoamator/docroot/core/modules/views/src/Plugin/views/display/Attachment.php(48): Drupal\\views\\ViewExecutable->render()\n#4 /home/beery/ekoamator/docroot/core/modules/views/src/ViewExecutable.php(1630): Drupal\\views\\Plugin\\views\\display\\Attachment->execute()\n#5 /home/beery/ekoamator/docroot/core/modules/views/src/Element/View.php(81): Drupal\\views\\ViewExecutable->executeDisplay()\n#6 [internal function]: Drupal\\views\\Element\\View::preRenderViewElement()\n#7 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(101): call_user_func_array()\n#8 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(772): Drupal\\Core\\Render\\Renderer->doTrustedCallback()\n#9 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(363): Drupal\\Core\\Render\\Renderer->doCallback()\n#10 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(435): Drupal\\Core\\Render\\Renderer->doRender()\n#11 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\\Core\\Render\\Renderer->doRender()\n#12 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Template/TwigExtension.php(463): Drupal\\Core\\Render\\Renderer->render()\n#13 /home/beery/ekoamator/docroot/sites/default/files/php/twig/61e6acdd23a60_views-view.html.twig_92kdg7eSL_wcjvwC0fFS8-pIy/riVlODniia9MCFBEbOyDw30axmI-CXcoxWC5YRiKSqc.php(96): Drupal\\Core\\Template\\TwigExtension->escapeFilter()\n#14 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(405): __TwigTemplate_0dd6c0542dd719fb880fd34b3b5e4f23481e796d399968d69a8f8c8371d16f01->doDisplay()\n#15 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling()\n#16 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(390): Twig\\Template->display()\n#17 /home/beery/ekoamator/docroot/core/themes/engines/twig/twig.engine(55): Twig\\Template->render()\n#18 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()\n#19 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(422): Drupal\\Core\\Theme\\ThemeManager->render()\n#20 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(435): Drupal\\Core\\Render\\Renderer->doRender()\n#21 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(201): Drupal\\Core\\Render\\Renderer->doRender()\n#22 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Template/TwigExtension.php(463): Drupal\\Core\\Render\\Renderer->render()\n#23 /home/beery/ekoamator/docroot/sites/default/files/php/twig/61e6acdd23a60_block--views-block--varba_RqeJaxsrosuS9_6Y-bD7UtBh7/hcrOlS-2RFZxiNj1386d5bAqe-HzrH5z5tfSBhHsKjM.php(86): Drupal\\Core\\Template\\TwigExtension->escapeFilter()\n#24 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(182): __TwigTemplate_ac0ad9dc62535c8bc47f5b7ff7afaa5e4e390c7e72c48fea44fbb53d9d85587a->block_content()\n#25 /home/beery/ekoamator/docroot/sites/default/files/php/twig/61e6acdd23a60_block--views-block--varba_RqeJaxsrosuS9_6Y-bD7UtBh7/hcrOlS-2RFZxiNj1386d5bAqe-HzrH5z5tfSBhHsKjM.php(72): Twig\\Template->displayBlock()\n#26 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(405): __TwigTemplate_ac0ad9dc62535c8bc47f5b7ff7afaa5e4e390c7e72c48fea44fbb53d9d85587a->doDisplay()\n#27 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling()\n#28 /home/beery/ekoamator/vendor/twig/twig/src/Template.php(390): Twig\\Template->display()\n#29 /home/beery/ekoamator/docroot/core/themes/engines/twig/twig.engine(55): Twig\\Template->render()\n#30 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Theme/ThemeManager.php(384): twig_render_template()\n#31 /home/beery/ekoamator/docroot/core/lib/Drupal/Core/Render/Renderer.php(422): Drupal\\Core\\Theme

Steps to reproduce

Not sure it was working OK, but today it stops working

Not quite sure why, and how to repair.

Proposed resolution

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ❌ Automated unit/functional testing coverage
  • ❌ Developer Documentation support on feature change/addition
  • ❌ User Guide Documentation support on feature change/addition
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Release

Varbase update type:

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A
🐛 Bug report
Status

Active

Version

9.0

Component

User interface

Created by

🇵🇱Poland Beery

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024