Comments (2)
Thank you @peterjaap for your response. I have tried your workaround but it doesn't work in index.php
. Though your core thought has made me try to echo
in bin/magento
file which worked.
from magento2-regenerate-catalog-urls.
This is a recurring issue in M2, the reason is that somewhere in the call stack at one point a class is injected that needs an area set (like Session). The exact cause is installation specific and hard to drill down.
My temporary workaround is to temporarily echo something (anything) in index.php, causing the area to be set. Remove it after you ran the command.
from magento2-regenerate-catalog-urls.
Related Issues (20)
- Problem regenerating product url HOT 2
- URL's not regenerating HOT 6
- Regenerate only new products HOT 1
- Multiple Categories in 2.3.5-p1 HOT 1
- Compatibility with Magento 2.4.0 HOT 3
- Multi Store site magento 2.3.3 not generate the url correctly HOT 20
- Categories in different categorie roots. HOT 2
- The "categoryIds" argument does not exist. HOT 1
- elgentos/regenerate-catalog-urls 0.2.9 requires magento/module-url-rewrite ^102.0 HOT 2
- Question: Regenerate everything HOT 14
- Feature-Request: Execute command for all store views HOT 4
- Missing rewrite for overwritten url_key HOT 4
- Fix inconsistencies between arguments for the different commands HOT 2
- Some URL's use path from wrong store view HOT 10
- Typed property error on adminhtml regenerate urls
- Empty array productIDs HOT 3
- Bulk product url update not working correctly HOT 3
- Duplicated url for store ID, product - URL key for specified store already exists. HOT 1
- Use category path for product URLs HOT 1
- Emulation dependency injected in the console commands through DI, tries to connect to database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-regenerate-catalog-urls.