Issue: can’t retrieve entity config magento:

Issue: can’t retrieve entity config magento:

1. When we override magento code module to our local then we might get issue like “Issue: can’t retrieve entity config magento”

2. Then first we have to check our config.xml file from etc folder of our module.

3. Our xml code should be like below

<catalog_mysql4>
<class>Jute_Catalog_Model_Mysql4</class>
<entities>
<catalog><table>My_custom_table</table></catalog>
</entities>
</catalog_mysql4>
</models>

4. Check capital & small letter from the config file

5. Once we are declare then the model we should call like

getModel(“catalog/catalog”)->load();

Initialize model on model files as like below:

init (‘catalog/catalog’) on all the model files

 

————————————————————————————————————————————————————————————-

Corner of Blog:

“Save Earth & Save Environment… “

———————————————————————————————————————————————————————————————-

Leave a Reply