kovvadayogesh / myProjects

0 stars 0 forks source link

Magento 2 Catalog Page not working #1

Open kovvadayogesh opened 5 years ago

kovvadayogesh commented 5 years ago

Hi All,

while i open catalog page I'm getting below error, can any one please help me out of this .

{"0":"Warning: Magento\Framework\Locale\TranslatedLists::getCountryTranslation(): Cannot load resource element 'AN' in C:\xampp\htdocs\magento\vendor\magento\framework\Locale\TranslatedLists.php on line 202","1":"

#1 Magento\Framework\Locale\TranslatedLists->getCountryTranslation('AN') called at [vendor\magento\module-directory\Model\ResourceModel\Country\Collection.php:276]\n#2 Magento\Directory\Model\ResourceModel\Country\Collection->toOptionArray() called at [vendor\magento\module-catalog\Model\Product\Attribute\Source\Countryofmanufacture.php:75]\n#3 

kovvadayogesh commented 5 years ago

Hi All,

You can remove records from "directory_country" table where country id equal to "AN"

This is the perfect solution for me.