Running drupal console with webprofiler enabled gives me this error:

TypeError: Argument 2 passed to Drupal\commerce_store\Command\CreateStoreCommand::__construct() must be an instance of Drupal\Core\Entity\EntityTypeManager, instance of Drupal\webprofiler\Entity\EntityManagerWrapper given in /var/www/.../web/modules/contrib/commerce/modules/store/src/Command/CreateStoreCommand.php on line 85

The CreateStoreCommand should accept an EntityTypeManagerInterface.

CommentFileSizeAuthor
#2 2913444-2-webprofiler_conflict.patch2.25 KBytsurk

Comments

ytsurk created an issue. See original summary.

ytsurk’s picture

StatusFileSize
new2.25 KB
ytsurk’s picture

Issue summary: View changes

bojanz’s picture

Adding emanuelrighetto who also added a patch/PR in #2812939: Rewrite the commerce:create:store Console command.

  • bojanz committed 4a723ee on 8.x-2.x
    Issue #2913444 by ytsurk, emanuelrighetto: Conflict with webprofiler
    
bojanz’s picture

Status: Active » Fixed

Since we had both of you submit the same patch, I've decided to give you both issue credit, and withhold commit credit (since it can't be shared). I don't know if that's more fair or less fair. Apologies in any case, and thank you for your contribution.

Status: Fixed » Closed (fixed)

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