Kint does not work with latest Devel module 5.4.0

Created on 12 July 2025, about 1 month ago

Problem/Motivation

Running Drupal 10, latest Devel 5.4.0 (which announced kint was removed) and Devel Kint Extras 1.1.4, When I went to the configuration page it had trouble finding/displaying/choosing the kint vardumper. I've attached a screenshot of the page with the errors shown.
And trying to put a kint statement in code that runs it reports kint not found.
The Devel module release notes state that we should use a contributed module to continue to use kint
now that kint has been removed from Devel. Will you support this or do we have to look elsewhere for a solution?

Steps to reproduce

Running Drupal 10, latest Devel 5.4.0 (which announced kint was removed) and Devel Kint Extras 1.1.4, When I went to the configuration page it had trouble finding/displaying/choosing the kint vardumper. I've attached a screenshot of the page with the errors shown.
And trying to put a kint statement in code that runs it reports kint not found.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States will_frank

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

Comments & Activities

  • Issue created by @will_frank
  • πŸ‡ΊπŸ‡ΈUnited States will_frank

    I am pasting in here one of the 3 stack traces that appear in the error logs when
    you try to open the devel admin page (as shown in the screenshot above).

    Warning: Undefined array key "description" in Drupal\devel\Form\SettingsForm->buildForm() (line 149 of /var/www/html/web/modules/contrib/devel/src/Form/SettingsForm.php)
    #0 /var/www/html/web/core/includes/bootstrap.inc(166): _drupal_error_handler_real()
    #1 /var/www/html/web/modules/contrib/devel/src/Form/SettingsForm.php(149): _drupal_error_handler()
    #2 [internal function]: Drupal\devel\Form\SettingsForm->buildForm()
    #3 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
    #4 /var/www/html/web/core/lib/Drupal/Core/Form/FormBuilder.php(284): Drupal\Core\Form\FormBuilder->retrieveForm()
    #5 /var/www/html/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
    #6 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
    #7 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
    #8 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #9 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
    #10 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
    #11 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #12 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
    #13 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
    #14 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
    #15 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
    #16 /var/www/html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
    #17 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
    #18 /var/www/html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
    #19 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
    #20 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
    #21 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
    #22 /var/www/html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
    #23 /var/www/html/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
    #24 /var/www/html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
    #25 {main}

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    This module was made specifically to enhance Devel's Kint integration. Since that has been removed, that would make this module obsolete. Feel free to create issues in the Kint issue queue for any of this module's functionalities that you would want to see in the main Kint module.

  • πŸ‡ΊπŸ‡ΈUnited States will_frank

    Thanks. One more question please.
    Is the "main Kint module" this one - https://www.drupal.org/project/kint β†’
    or something else?

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    Yes, that’s it.

  • πŸ‡ΊπŸ‡ΈUnited States will_frank

    Thanks dieterholvoet! I was able to use the latest version
    of this kint module with the latest Devel and I can confirm it
    works well.

  • πŸ‡ΊπŸ‡ΈUnited States delzhand

    What is the replacement for ksm() then?

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    I recommend creating an issue in the Kint β†’ issue queue to add the ksm() functionality.

  • πŸ‡¨πŸ‡¦Canada mandclu

    At some point it might be helpful to have a release of this module that required Devel >= 5.4.0 and the main Kint module

  • πŸ‡§πŸ‡ͺBelgium dieterholvoet Brussels

    Sure, we could do that. I would still mark the module as obsolete though. MR's are welcome.

Production build 0.71.5 2024