cancel
Showing results for 
Search instead for 
Did you mean: 

Magento attribute value disappears automatically

Magento attribute value disappears automatically

Hi,

 
We have created one attribute in the magento admin panel and have lot many options for it i.e. around 800-900 for the attribute. When ever I open the attribute and add an option to it then some of the options get disappear automatically and also randomly even when I add it again and save and then open after sometime any other random option disappears. I searched google but unable to understand why this happens. Please let me know what the issue is.

screenshot-onestopretail.in-2016-11-30-12-55-24.pngscreenshot-onestopretail.in-2016-11-30-12-56-38.png
3 REPLIES

Re: Magento attribute value disappears automatically

Hi @bhagyashree11,

 

Check system.log or exception.log file from consol. It will help you identify the real issue. Try to solve it or paste it here, then we will help you if possible.

-- Best regards --
Kent Christiansen / @KentChrDK / Magento Certified Solution Specialist / Visit my site (DK)

Re: Magento attribute value disappears automatically

EXception.log is as follows:

2016-12-26T06:19:48+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Magentothem_Relatedslider_Block_Page_Html_Head' in /var/www/html/onestop/app/Mage.php:595
Stack trace:
#0 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('relatedslider/p...', Array)
#2 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('relatedslider/p...', 'magentothem_rel...')
#3 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('relatedslider/p...', 'magentothem_rel...')
#4 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'x984_home')
#9 /var/www/html/onestop/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'x984_home')
#10 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#11 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('index')
#12 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/html/onestop/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/html/onestop/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /var/www/html/onestop/index.php(86): Mage::run('', 'store')
#16 {main}
2016-12-26T06:28:16+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Magentothem_Relatedslider_Block_Page_Html_Head' in /var/www/html/onestop/app/Mage.php:595
Stack trace:
#0 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('relatedslider/p...', Array)
#2 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('relatedslider/p...', 'magentothem_rel...')
#3 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('relatedslider/p...', 'magentothem_rel...')
#4 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#9 /var/www/html/onestop/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#10 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#11 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#12 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/html/onestop/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/html/onestop/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /var/www/html/onestop/index.php(86): Mage::run('', 'store')
#16 {main}
2016-12-26T06:28:23+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Magentothem_Relatedslider_Block_Page_Html_Head' in /var/www/html/onestop/app/Mage.php:595
Stack trace:
#0 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('relatedslider/p...', Array)
#2 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('relatedslider/p...', 'magentothem_rel...')
#3 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('relatedslider/p...', 'magentothem_rel...')
#4 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /var/www/html/onestop/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /var/www/html/onestop/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#9 /var/www/html/onestop/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#10 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#11 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#12 /var/www/html/onestop/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/html/onestop/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/html/onestop/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /var/www/html/onestop/index.php(86): Mage::run('', 'store')
#16 {main}

Re: Magento attribute value disappears automatically

Apparently one of your layout files tries to load Magentothem_Relatedslider extension blocks. And fails. Usually it happens when an extension is removed, but modified layout / template files still try use it.

Tanel Raja