With 10.1.2 the module causes a crash on Status Report. Log reports the following error, which backtrace reports is caused by jcarousel.

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "site.path". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /[site]/web/core/lib/Drupal/Component/DependencyInjection/Container.php).

Apparently, calls to site.path is deprecated in Drupal 10.

As a side issue, would love to get the the jcarousel option for Views Slideshow pager working in Drupal 10 - thanks!

CommentFileSizeAuthor
#2 3379969.patch599 byteselber

Comments

bcobin created an issue. See original summary.

elber’s picture

Status: Active » Needs review
StatusFileSize
new599 bytes
keshavv’s picture

Status: Needs review » Reviewed & tested by the community

Patch #2 works and resolves the issue. As the service is deprecated we need to merge it.
https://stefvanlooveren.me/errors/how-fix-sitepath-service-deprecated-drupal-9-or-10-upgrade

louis-cuny’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3396927: ServiceNotFoundException: You have requested a non-existent service "site.path"

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.