- Issue created by @kpaxman
- π§π·Brazil joaopauloc.dev
joaopauloc.dev β made their first commit to this issueβs fork.
- Status changed to Fixed
5 days ago 9:39pm 16 November 2024 Automatically closed - issue fixed for 2 weeks with no activity.
With the module enabled, the token help page (and likely elsewhere) throws a warning:
Warning: Undefined array key "name" in Drupal\token\Element\TokenTreeTable::formatRow() (line 122 of [module path]/token/src/Element/TokenTreeTable.php).
Drupal\token\Element\TokenTreeTable::formatRow('form_value', Array, Array, 1) (Line: 65)
Drupal\token\Element\TokenTreeTable::preRenderTokenTree(Array)
call_user_func_array(Array, Array) (Line: 101)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725 β ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 39)
token_help('help.page.token', Object)
call_user_func_array(Object, Array) (Line: 417)
Drupal\Core\Extension\ModuleHandler->invoke('token', 'help', Array) (Line: 156)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invoke('token', 'help', Array) (Line: 140)
Drupal\help\Controller\HelpController->helpPage('token')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
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: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
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: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Enable the module. Rebuild the site cache (possibly not needed). Visit the token help at [site]/admin/help/token
Active
1.0
Code
joaopauloc.dev β made their first commit to this issueβs fork.
Automatically closed - issue fixed for 2 weeks with no activity.