Argento “Can’t generate content” at Magento 2.2 homepage
Magento 2.2 version is not using that widget part anymore:
conditions_encoded="a:1:[i:1;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model| Rule|Condition|Combine`;s:10:`aggregator`;s:3:`all`;s:5:`value`;s:1:`1`; s:9:`new_child`;s:0:``;]]"
but it is included in installation for earlier versions support.
- Open your homepage content and turn off WYSIWYG editor to see the raw code
- Find all Highlight widgets
- Remove that part
conditions_encoded="a:1:[i:1;a:4....;]]"from every widget
- Save. Enjoy!
Getting error: Required parameter ‘theme_dir’ was not passed
Such errors can happen if you have “virtual” themes instead of “normal”. That sometimes happens during the upgrade.
- Go to
Your Magento2 database
- Find the
- And make sure that all theme types are set to
- In case any of them have
'1'change it to
- Error should be gone