- Issue created by @mikegodin
- @mikegodin opened merge request.
- πΊπΈUnited States mikegodin
Created Merge Request #1 to resolve the issue.
- Status changed to Needs review
about 1 year ago 2:53pm 27 October 2023
file_create_url() was deprecated in drupal:9 and is removed from drupal:10
The function file_create_url() is being used in Drupal\lunr\EventSubscriber\TomePathSubscriber->collectPaths()
, and causes the following error in Drupal 10 when tome is used:
Error: Call to undefined function Drupal\lunr\EventSubscriber\file_create_url() in Drupal\lunr\EventSubscriber\TomePathSubscriber->collectPaths() (line 57 of /var/www/docroot/modules/contrib/lunr/src/EventSubscriber/TomePathSubscriber.php).
Replace the file_create_url() with file_url_generator service using dependency injection.
Needs review
1.0
Code
Created Merge Request #1 to resolve the issue.