This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Exception M 2.1.6: Area code is already set. #13
Comments
Confirming |
Some insight into the issue. magento/magento2#5285 Looks like it's due to the setAreaCode being used within the constructor of the module |
Yup, works without setAreaCode('adminhtml') and I don't see any point for it since it is always run from CLI |
grafikchaos
pushed a commit
to grafikchaos/magento2-regenurl
that referenced
this issue
Jun 7, 2017
See PR #15 for fixed version |
iazel
pushed a commit
that referenced
this issue
Aug 12, 2017
grafikchaos
pushed a commit
to grafikchaos/magento2-regenurl
that referenced
this issue
Nov 21, 2017
This is fixed in my fork, amongst other issues https://github.com/peterjaap/magento2-regenurl |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Regenerating Magento 2.1.6 Image cache by running command
bin/magento catalog:images:resize
leads to the following exception with this module enabled:Simply deactivate
bin/magento module:disable Iazel_RegenProductUrl
and the resize prozess proceeds.The text was updated successfully, but these errors were encountered: