Updating with composer on my dev site and getting below which crashes the site. Restoring to 1.1 and all is fine. This is on 10.2.2.

The website encountered an unexpected error. Try again later.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "commerce_email.email_sender" has a dependency on a non-existent service "plugin.manager.commerce_log_template". Did you mean one of these: "plugin.manager.commerce_condition", "plugin.manager.commerce_entity_trait", "plugin.manager.commerce_inline_form", "plugin.manager.commerce_checkout_pane", "plugin.manager.commerce_email_event", "plugin.manager.commerce_number_pattern", "plugin.manager.commerce_adjustment_type", "plugin.manager.commerce_payment_gateway", "plugin.manager.commerce_payment_type", "plugin.manager.commerce_package_type", "plugin.manager.commerce_stock_event_type", "plugin.manager.commerce_tax_number_type", "plugin.manager.commerce_tax_type"? in Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue() (line 88 of /var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).

Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object, ) (Line: 90)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, ) (Line: 51)
Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Array) (Line: 99)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Object, 1) (Line: 51)
Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object, 1) (Line: 90)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue(Array, 1) (Line: 51)
Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Array, 1) (Line: 48)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process(Object) (Line: 42)
Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->process(Object) (Line: 80)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object) (Line: 767)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1330)
Drupal\Core\DrupalKernel->compileContainer() (Line: 934)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 494)
Drupal\Core\DrupalKernel->boot() (Line: 702)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Comments

hcksharp created an issue. See original summary.

hcksharp’s picture

Issue summary: View changes

OK. got it figured. I did not have commerce log enabled on my sites, as I just don't have a need for it.

Enable commerce log before updating to 1.2.

Can this please be added to the Release notes? Thanks.

hcksharp’s picture

Component: Code » Documentation
Category: Bug report » Task
vmarchuk’s picture

@hcksharp
In version 1.3, we removed the dependency on commerce_log. So if it is enabled you will be able to use logging, otherwise it will not be offered.

vmarchuk’s picture

Status: Active » Closed (works as designed)