ksm() has stopped working (currently core 10.5.2)
Uncaught PHP Exception Error: "Call to undefined function Drupal\j2sutil\Form\ksm()" at (my code)
Checking issues like https://gitlab.com/drupalspoons/devel/-/issues/525 I tried installing kint module but get composer clashes that dont seem to be resolvable:
jon@nat:/var/www/ktt$ composer require 'drupal/kint-kint:^2.1'
./composer.json has been updated
Running composer update drupal/kint-kint
...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/kint-kint ^2.1 -> satisfiable by drupal/kint-kint[2.1.0, 2.1.1, 2.x-dev].
- drupal/kint-kint[2.1.0, ..., 2.x-dev] require kint-php/kint ^6.0.1 -> found kint-php/kint[6.0.1] but it conflicts with your root composer.json require (^4).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
composer.json shows:
"kint-php/kint": "^4",
"kint-php/kint-twig": "^4.0",
$ composer why kint-php/kint
drupal/recommended-project dev-master requires kint-php/kint (^4)
kint-php/kint-twig 4.0 requires kint-php/kint (^4)
try to install with composer require 'drupal/kint-kint:^2.1'
Active
2.1
Code