Problem/Motivation
Warning: Undefined array key "use_material_design" in Drupal\charts_google\Plugin\chart\Library\Google->buildConfigurationForm() (line 113 of modules/contrib/charts/modules/charts_google/src/Plugin/chart/Library/Google.php).
Drupal\charts_google\Plugin\chart\Library\Google->buildConfigurationForm(Array, Object) (Line: 1393)
Drupal\charts\Element\BaseSettings::buildLibraryConfigurationForm(Array, Object, 'google') (Line: 501)
Drupal\charts\Element\BaseSettings::processSettings(Array, Object, Array)
call_user_func_array(Array, Array) (Line: 1012)
Drupal\Core\Form\FormBuilder->doBuildForm('charts_form_base', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('charts_form_base', Array, Object) (Line: 579)
Drupal\Core\Form\FormBuilder->processForm('charts_form_base', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 182)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork charts-3390787
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
andileco commentedI made a small commit to avoid that message (it happens if you save a different library as the default library, but still have a Google Chart on your site). However, I think you are experiencing a different issue that's preventing the chart from rendering.
Comment #6
maxilein commentedHi,
that made things worse ...
I am getting 2 of these for each chart on a node:
Comment #7
andileco commentedThis appears to be related to a separate commit: https://www.drupal.org/project/charts/issues/3391136
Can you provide more information about how your view is constructed? Everything works perfectly for me across multiple instances that I test on.
Comment #8
maxilein commentedYou are right #6 was fixed by the other issue.
I will. I just don't have the time today to do that thoroughly. Thank you!