- Issue created by @ovilla
When I run the command node js/index.node.js default
it shows me the following message and does not finish executing the command:
Indexing Lunr search default...
When that command is executed it logs an error many times in watchdog and has the following message:
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: Session has not been set. in Symfony\Component\HttpKernel\HttpKernel->handle() (line 83 of ./vendor/symfony/http-kernel/HttpKernel.php).
Searching for the watchdog error I found something related ( https://www.drupal.org/project/simple_sitemap/issues/3391783#comment-153... 💬 "Session has not been set" error on drush cron Active ), but I think it doesn't apply to this case because the getSession() method is only used in unit tests.
I think is something related to Drupal 10, since I'm using version 10.2.7
Execute command node js/index.node.js default
in command line.
Active
1.6
Code