'Non-existent service'

Created on 1 June 2018, over 6 years ago
Updated 16 January 2023, over 1 year ago

Hey I have only been using Drupal for less than a month, so I may not be understanding what I'm doing wrong here:

Small backstory: I had all of the following installed and enabled on my site two days prior to this. I couldn't get it to work (I'm also newer to JQuery and Drupal terminology), so I ended up finding a video tutorial and decided to uninstall/delete the module folders from my cPanel and start over. When I started this two days ago, NG_Lightbox was installed and enabled along with all of the following I list/talk about and they 'worked', I just wasn't coding something right because every time I clicked on an image the lightbox popped up but the containing box was blank. I did find a couple of threads about that and did what they said to do but it didn't work. Hence, the starting over with a video tutorial.

Alright:

I installed Colorbox, and then Colorbox_Load, I enabled Colorbox but couldn't enable Colorbox_Load because NG_Lightbox was not installed. When I installed NG_Lightbox and it was finished I got the following message:

The website encountered an unexpected error. Please try again later.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "ng_lightbox". in Drupal\Component\DependencyInjection\Container->get() (line 151 of core/lib/Drupal/Component/DependencyInjection/Container.php).

and then my site stopped working. I deleted the NG_Lightbox folder from my cPanel and it began working again. I tried to install the older Drupal 8 releases, thinking it may have been the beta version I was using, but they all do the same thing.

Because I'm not well versed in anything other than HTML/CSS, I don't want to attempt to edit the Container.php file.

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024