Large number of entries for warning related to replicate ui task

Created on 5 October 2020, over 3 years ago
Updated 25 March 2023, over 1 year ago

Warning: in_array() expects parameter 2 to be array, null given in Drupal\replicate_ui\Plugin\Derivative\ReplicateUILocalTasks->getDerivativeDefinitions() (line 56 of modules/contrib/replicate_ui/src/Plugin/Derivative/ReplicateUILocalTasks.php).
Drupal\replicate_ui\Plugin\Derivative\ReplicateUILocalTasks->getDerivativeDefinitions(Array) (Line: 101)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) (Line: 87)
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() (Line: 284)
Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() (Line: 175)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() (Line: 201)
Drupal\Core\Menu\LocalTaskManager->getDefinitions() (Line: 226)
Drupal\Core\Menu\LocalTaskManager->getLocalTasksForRoute('entity.taxonomy_term.canonical') (Line: 310)
Drupal\Core\Menu\LocalTaskManager->getTasksBuild('entity.taxonomy_term.canonical', Object) (Line: 378)
Drupal\Core\Menu\LocalTaskManager->getLocalTasks('entity.taxonomy_term.canonical', 0) (Line: 95)
Drupal\Core\Menu\Plugin\Block\LocalTasksBlock->build() (Line: 163)
Drupal\block\BlockViewBuilder::preRender(Array)
call_user_func('Drupal\block\BlockViewBuilder::preRender', Array) (Line: 378)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 450)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 267)
__TwigTemplate_a34a307bd46bfd11fde9a642d61aa0c51738f6551452056b65e8753f33563a81->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array, Array) (Line: 61)
__TwigTemplate_0c7f4ff606f4ef860c18f2bc8deac02d75d67946cff3b884320c7568d0ac1793->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)
Twig\Template->render(Array) (Line: 64)
twig_render_template('themes/custom/transac/alshaya_bathbodyworks/templates/layout/page--plp.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 437)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 501)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 147)
__TwigTemplate_45dad466b7e35ddd278a594d210f9d2672c0c31edba02bc6d531c3511932201b->doDisplay(Array, Array) (Line: 453)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 420)
Twig\Template->display(Array) (Line: 432)

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India sanket1007

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.

  • 🇨🇭Switzerland Berdir Switzerland

    No need to check $config, that is defined and exists. If you get this error your config is invalid but fine to add that. However, an array cast with the foreach call should suffice and is a single-line change instead of having to further intent everything.

Production build 0.69.0 2024