Comments

karlos007 created an issue. See original summary.

kmajzlik’s picture

Version: 8.x-2.x-dev » 8.x-2.5
bojanz’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Fixed

You updated Commerce but didn't update Entity API ("composer update drupal/commerce --with-dependencies" should have done it for you).
You can do "composer update drupal/entity" to update Entity API.

kmajzlik’s picture

Category: Support request » Bug report
Priority: Normal » Critical
Status: Fixed » Needs work

So it means there is a bug in composer.json of Commerce. If current Commerce release (2.5) needs Entity 8.x-1.0-beta3 then it should be marked there but only ~1.0 specified which causes usage of incompatible version of Entity module.
I made
composer update --with-dependencies drupal/commerce drupal/commerce_price drupal/commerce_product drupal/commerce_order drupal/commerce_payment drupal/commerce_payment_example drupal/commerce_checkout drupal/commerce_tax drupal/commerce_cart drupal/commerce_log drupal/commerce_store drupal/commerce_promotion
and it caused failing site.
We need module in consistent state in meaning of dependencies in composer.json

bojanz’s picture

Title: Error: Class 'Drupal\entity\Routing\AdminHtmlRouteProvider' not found » Update composer.json to indicate the minimum required Entity API version
Version: 8.x-2.5 » 8.x-2.x-dev
Component: Order » Other
Category: Bug report » Task
Priority: Critical » Major

Let's do that.

kmajzlik’s picture

Status: Needs work » Needs review

  • bojanz committed 8062c3f on 8.x-2.x authored by karlos007
    Issue #2954572 by karlos007: Update composer.json to indicate the...
bojanz’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.