Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This kicked off an error for me when I tried to use without colorbox enabled.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "colorbox.attachment". in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).
I might have left some other colorbox fragment sitting around but I don't think so. Enabling colorbox fixed it. Disabling both makes no error.
Comment | File | Size | Author |
---|---|---|---|
#2 | dependencies-2771401-1.patch | 708 bytes | HongPong |
Comments
Comment #2
HongPong CreditAttribution: HongPong as a volunteer and at kor group commentedI think this covers the issue. Cheers.
Comment #3
darvanenYes, it does.
Comment #4
Sam152 CreditAttribution: Sam152 at PreviousNext commentedI don't know why the library dependency was removed?
Comment #6
Sam152 CreditAttribution: Sam152 at PreviousNext commentedComment #7
darvanenAh yes, right you are, library dependency is separately required to module dependency, my bad.
Comment #8
Sam152 CreditAttribution: Sam152 at PreviousNext commentedNot a problem. Should be fixed, thanks for the nudge on this issue.
Let me know if you run into any other problems. I haven't had a chance to test this in production yet :)
Comment #10
darvanenJust came across this issue again, any chance of a new release containing the fix? What can I do to help?
Comment #11
Sam152 CreditAttribution: Sam152 at PreviousNext commentedAll good, tagged another release: https://www.drupal.org/project/colorbox_inline/releases/8.x-1.0-rc2
Should be published once the bot packages it.
Comment #12
darvanenFabulous, thank you.