Problem/Motivation
Hi !
This module (v1.0.3) is not compatible with latest Google Tag module (v2.0.x)
If both are installed and Tarte au citron Google Tag Manager submodule installed too, error is thrown on config page.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "google_tag.container_manager". in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\tarte_au_citron_googletagmanager\Plugin\tarte_au_citron\GoogleTagManager::create(Object, Array, 'drupal_googletagmanager', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('drupal_googletagmanager', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('drupal_googletagmanager', Array) (Line: 108)
Drupal\tarte_au_citron\ServicesManager->getServices() (Line: 188)
Drupal\tarte_au_citron\Form\ConfigurationForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('tarte_au_citron_configuration_form', Object) (Line: 283)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
In 2.0.x versions of Google Tag, services have changed.
"google_tag.container_manager" doesn't exist anymore.
Steps to reproduce
Install tarte_au_citron
Install google_tag
Install tarte_au_citron_googletagmanager
Then go to /admin/config/tarte_au_citron/services