magento2: Cannot load resource element 'AN' in Catalog > Products

Magento 2.0.7

Steps to reproduce

  1. Install Magento from develop branch.
  2. Do login to admin panel.
  3. Navigate to Catalog > Products

Expected result

  1. It will going to show product listing

Actual result

  1. Warning: Magento\Framework\Locale\TranslatedLists::getCountryTranslation(): Cannot load resource element ‘AN’ in F:\xampp\htdocs\magento27-v1\vendor\magento\framework\Locale\TranslatedLists.php on line 206
  2. [Screenshot, logs] Here attached screenshot for the same. magento27-v1_dev_admin_2j3w1s_catalog_product_index

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

Probably NOT the best temporary fix but from the table ‘directory_country’ I removed the record with country id=‘AN’ (MySql). ‘AN’ = Netherlands Antilles. I even could not configure the stores in the Backend of Magento so that’s why I removed this record.

I did this with Magento V2.1 CE. I’m running WAMP, PHP 5.6.25 and MySql 5.6.17.

Hello Guys, Today is 13:11 09.03.2017 and i use:

Magento CE Ver: 2.1.5 Apache 2.4, Win 7, MySQL 5.7.17 with sample data is installed. magento deploy:mode:set developer

As @henk-webleads mentioned, i don´t know if it is the perfect solution, but for me it´s the ideal solution. It Works!

Befor i couldn´t acess Adminpanel > Produts > Catalog and Adminpanel > Stores > Configuration

Thank you!

I have same issue on latest version CE-2.1.0… Please help me… save my life