{"action":"opened","issue":{"url":"https://api.github.com/repos/mage-eag/mage-enhanced-admin-grids/issues/269","repository_url":"https://api.github.com/repos/mage-eag/mage-enhanced-admin-grids","labels_url":"https://api.github.com/repos/mage-eag/mage-enhanced-admin-grids/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/mage-eag/mage-enhanced-admin-grids/issues/269/comments","events_url":"https://api.github.com/repos/mage-eag/mage-enhanced-admin-grids/issues/269/events","html_url":"https://github.com/mage-eag/mage-enhanced-admin-grids/issues/269","id":135537971,"number":269,"title":"Fatal error: Call to a member function setCode() on a non-object","user":{"login":"xtremevision","id":6533394,"avatar_url":"https://avatars.githubusercontent.com/u/6533394?v=3","gravatar_id":"","url":"https://api.github.com/users/xtremevision","html_url":"https://github.com/xtremevision","followers_url":"https://api.github.com/users/xtremevision/followers","following_url":"https://api.github.com/users/xtremevision/following{/other_user}","gists_url":"https://api.github.com/users/xtremevision/gists{/gist_id}","starred_url":"https://api.github.com/users/xtremevision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtremevision/subscriptions","organizations_url":"https://api.github.com/users/xtremevision/orgs","repos_url":"https://api.github.com/users/xtremevision/repos","events_url":"https://api.github.com/users/xtremevision/events{/privacy}","received_events_url":"https://api.github.com/users/xtremevision/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T20:43:59Z","updated_at":"2016-02-22T20:43:59Z","closed_at":null,"body":"Hi,\r\n\r\nThe module is crashing in Manage Custom Grids and Cache Management.\r\n\r\nFull error below:\r\n\r\nFatal error: Call to a member function setCode() on a non-object in /home/www/scalesmart/htdocs/app/code/community/BL/CustomGrid/Model/Config/Abstract.php on line 208\r\nCall Stack\r\n#\tTime\tMemory\tFunction\tLocation\r\n1\t0.0002\t240032\t{main}( )\t.../index.php:0\r\n2\t0.0026\t506080\tMage::run( )\t.../index.php:83\r\n3\t0.0092\t1425888\tMage_Core_Model_App->run( )\t.../Mage.php:684\r\n4\t0.4741\t9327576\tMage_Core_Controller_Varien_Front->dispatch( )\t.../App.php:365\r\n5\t0.4787\t9606552\tMage_Core_Controller_Varien_Router_Standard->match( )\t.../Front.php:172\r\n6\t0.4943\t10331840\tMage_Core_Controller_Varien_Action->dispatch( )\t.../Standard.php:254\r\n7\t0.5301\t13376976\tBL_CustomGrid_Custom_GridController->indexAction( )\t.../Action.php:418\r\n8\t0.6664\t17536624\tMage_Core_Controller_Varien_Action->renderLayout( )\t.../GridController.php:50\r\n9\t0.6666\t17538688\tMage_Core_Model_Layout->getOutput( )\t.../Action.php:390\r\n10\t0.6667\t17538800\tMage_Core_Block_Abstract->toHtml( )\t.../Layout.php:555\r\n11\t0.6670\t17542624\tMage_Adminhtml_Block_Template->_toHtml( )\t.../Abstract.php:919\r\n12\t0.6670\t17543008\tMage_Core_Block_Template->_toHtml( )\t.../Template.php:81\r\n13\t0.6670\t17543088\tMage_Core_Block_Template->renderView( )\t.../Template.php:286\r\n14\t0.6673\t17543792\tMage_Core_Block_Template->fetchView( )\t.../Template.php:272\r\n15\t0.6676\t17585224\tinclude( '/home/www/scalesmart/htdocs/app/design/adminhtml/default/default/template/page.phtml' )\t.../Template.php:241\r\n16\t0.9530\t24619648\tMage_Core_Block_Abstract->getChildHtml( )\t.../page.phtml:74\r\n17\t0.9530\t24619744\tMage_Core_Block_Abstract->_getChildHtml( )\t.../Abstract.php:581\r\n18\t0.9530\t24619744\tMage_Core_Block_Abstract->toHtml( )\t.../Abstract.php:637\r\n19\t0.9532\t24619976\tMage_Core_Block_Text_List->_toHtml( )\t.../Abstract.php:919\r\n20\t0.9532\t24620112\tMage_Core_Block_Abstract->toHtml( )\t.../List.php:43\r\n21\t0.9534\t24621024\tMage_Adminhtml_Block_Widget_Container->_toHtml( )\t.../Abstract.php:919\r\n22\t0.9535\t24621680\tMage_Adminhtml_Block_Template->_toHtml( )\t.../Container.php:308\r\n23\t0.9535\t24621680\tMage_Core_Block_Template->_toHtml( )\t.../Template.php:81\r\n24\t0.9535\t24621712\tMage_Core_Block_Template->renderView( )\t.../Template.php:286\r\n25\t0.9536\t24622200\tMage_Core_Block_Template->fetchView( )\t.../Template.php:272\r\n26\t0.9538\t24644264\tinclude( '/home/www/scalesmart/htdocs/app/design/adminhtml/default/default/template/widget/grid/container.phtml' )\t.../Template.php:241\r\n27\t0.9538\t24644616\tMage_Adminhtml_Block_Widget_Grid_Container->getGridHtml( )\t.../container.phtml:36\r\n28\t0.9538\t24644696\tMage_Core_Block_Abstract->getChildHtml( )\t.../Container.php:77\r\n29\t0.9538\t24644920\tMage_Core_Block_Abstract->_getChildHtml( )\t.../Abstract.php:581\r\n30\t0.9538\t24645096\tMage_Core_Block_Abstract->toHtml( )\t.../Abstract.php:637\r\n31\t0.9616\t25644864\tMage_Adminhtml_Block_Widget_Grid->_beforeToHtml( )\t.../Abstract.php:918\r\n32\t0.9616\t25644912\tMage_Adminhtml_Block_Widget_Grid->_prepareGrid( )\t.../Grid.php:632\r\n33\t1.0098\t26794800\tBL_CustomGrid_Block_Custom_Grid_Grid->_prepareCollection( )\t.../Grid.php:626\r\n34\t1.0103\t26800392\tMage_Adminhtml_Block_Widget_Grid->_prepareCollection( )\t.../Grid.php:31\r\n35\t1.0105\t26801816\tVarien_Data_Collection_Db->load( )\t.../Grid.php:533\r\n36\t1.0120\t26812800\tBL_CustomGrid_Model_Mysql4_Grid_Collection->_afterLoad( )\t.../Db.php:581\r\n37\t1.0121\t26812920\tVarien_Data_Collection->walk( )\t.../Collection.php:27\r\n38\t1.0121\t26813728\tcall_user_func_array:{/home/www/scalesmart/htdocs/lib/Varien/Data/Collection.php:466} ( )\t.../Collection.php:466\r\n39\t1.0121\t26813896\tMage_Core_Model_Abstract->afterLoad( )\t.../Collection.php:466\r\n40\t1.0122\t26814720\tBL_CustomGrid_Model_Grid->_afterLoad( )\t.../Abstract.php:281\r\n41\t1.0122\t26814880\tBL_CustomGrid_Model_Grid->_refreshConfig( )\t.../Grid.php:246\r\n42\t1.0122\t26814944\tBL_CustomGrid_Model_Grid->_initTypeModel( )\t.../Grid.php:236\r\n43\t1.0123\t26818560\tBL_CustomGrid_Model_Grid_Type->getTypesInstances( )\t.../Grid.php:268\r\n44\t1.0297\t29136056\tBL_CustomGrid_Model_Config_Abstract->getElementInstanceByCode( )\t.../Type.php:252\r\n\r\nAny ideas?\r\n\r\nThanks,\r\nMichael."}}