网站主题存在问题。 我有一个父主题和一个子主题。子主题中将覆盖多个文件/布局。 直到昨天或前一天为止,一切都正常(正在处理模块,因此仅在今天才注意到问题)。
不会生成子主题静态文件...仅生成requirejs-config.js文件。 可以很好地创建父主题静态文件。
如果我为商店切换到默认的Magento主题(luma)...将父主题设置为全局,则得到的结果相同。 luma文件仅包含上述JS文件。
如果我将全局主题更改为luma,则仍会生成旧的父主题静态文件,并再次...仅在luma静态文件中包含一个JS文件。 (如果未为任何网站/商店设置,为什么仍生成旧的父主题静态文件?)
- im in developer mode
- no themes in DB have the virtual setting (all are 0)
- All the right theme files are in place...this theme has been around for a while. its not brand new.
- i downloaded a fresh DB copy from the staging site (which is working fine) to ensure this wasnt an issue with data in my local DB
- Switched GIT branches to ensure none of my latest work had caused an issue
- There are 2 system configs for theme_id (global/websites). These are both set to theme id 2 at the moment (luma)
- All the usual CLI commands are being run each time i change something trying to figure this out. Its not a cache clean/flush/upgrade command running issue.
问题:
1. How is it detecting and deploying the parent theme files...when all website/stores are set to luma theme?
2. Why aren't theme files no longer being deployed to pub/static...except the old parent theme files (even though i am in developer mode, and files don't need deploying....some files are always deployed, its not me running deployment commands)
3. What could possibly be involved in causing this issue, except the areas i mention above that ive been playing with?