我需要帮助。
我的magento的exception.log收到错误,我不知道如何解决,以及为什么会发生这种情况,请看下面的错误:
2016-06-10T17:46:42+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_Dynamicslideshow_Block_List' in /chroot/home/reperfum/mydomain.com.br/html/app/Mage.php:595
Stack trace:
#0 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('dynamicslidesho...', Array)
#2 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('dynamicslidesho...', 'dynamicslidesho...')
#3 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('dynamicslidesho...', 'dynamicslidesho...')
#4 /chroot/home/reperfum/mydomain.com.br/html/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 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#7 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#8 /chroot/home/reperfum/mydomain.com.br/html/app/code/local/Sm/Shopby/controllers/CategoryController.php(48): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#9 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Sm_Shopby_CategoryController->viewAction()
#10 /chroot/home/reperfum/mydomain.com.br/html/app/code/local/Sm/Shopby/Controller/Router.php(96): Mage_Core_Controller_Varien_Action->dispatch('view')
#11 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Sm_Shopby_Controller_Router->match(Object(Mage_Core_Controller_Request_Http))
#12 /chroot/home/reperfum/mydomain.com.br/html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#13 /chroot/home/reperfum/mydomain.com.br/html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#14 /chroot/home/reperfum/mydomain.com.br/html/index.php(83): Mage::run('', 'store')
#15 {main}
有人可以帮我解决这个问题吗?
TKS
答案 0 :(得分:0)
您的一个布局XML文件引用了类型为dynamicslideshow/list
的块。这个块别名无法正确解析为某个类,这可能是由多种原因造成的,但最可能的原因是您已从app/code/local
中删除了一个模块而忘记了远程引用它来自app/design
。
在app/design
中搜索包含type="dynamicslideshow/list
的XML文件,现在删除对它的引用。如果您想保留有问题的模块,您需要分享有关如何实施模块的更多信息。