cancel
Showing results for 
Search instead for 
Did you mean: 

Issue : Categories are not showing in Admin Product Edit Page Magento 2.1.5

Issue : Categories are not showing in Admin Product Edit Page Magento 2.1.5

Hi,

 

In admin product edit page not showing Categories select options.

 

When clear all Caches, Categories are showing in product edit page.

 

I have debuged catalog core module,

 

$categoryTree = $this->getCacheManager()->load(self::CATEGORY_TREE_ID . '_' . $filter);
if ($categoryTree) {
return unserialize($categoryTree);
}

 

When I have remove above code in /vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php Categories are displaying as excpected.

 

Please share the details, how to fix these issue without core catalog module changes.


Regards,
Vamsi.

 

 

2 REPLIES 2

Re: Issue : Categories are not showing in Admin Product Edit Page Magento 2.1.5

Did you get any solution for above issue? 

Re: Issue : Categories are not showing in Admin Product Edit Page Magento 2.1.5

Hi ,

In my website, i was also facing same issue and after cache flush/redis flush, problem resolves for some time. But after content deploy issue occurred again.

 

After lot of debugging i found some below queries which i fired directly on the database

ALTER TABLE flag MODIFY flag_data LONGTEXT;

UPDATE flag SET flag_data = '{"system":"","scopes":"","themes":""}' WHERE flag_code = 'config_hash';

UPDATE flag SET flag_data = '{}' WHERE flag_code = 'system_config_snapshot';

 

And I tried to reproduce this issue again but not able to reproduce able.  can you also try this solution it may solve your problem as well.