/ / Magento nieprawidłowy typ reflektora bloku - magento

Magento - reflektor niepoprawny typu block - magento

W moim pliku exception.log mam następujące wiadomości:

2015-04-23T14:43:40+00:00 ERR (3):
exception "Mage_Core_Exception" with message "Invalid blocktype:
Mage_Page_Block_Html_Spotlight" in /public_html/app/Mage.php:595
Stack trace:
#0/public_html/app/code/core/Mage/Core/Model/Layout.php(495):
Mage::throwException("Invalid blockt...")
#1 /public_html/app/code/core/Mage/Core/Model/Layout.php(437):
Mage_Core_Model_Layout->_getBlockInstance("page/html_spotl...", Array)
#2 /public_html/app/code/core/Mage/Core/Model/Layout.php(472):
Mage_Core_Model_Layout->createBlock("page/html_spotl...", "spotlight")
#3 /public_html/app/code/core/Mage/Core/Model/Layout.php(239):
Mage_Core_Model_Layout->addBlock("page/html_spotl...", "spotlight")
#4 /public_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 /public_html/app/code/core/Mage/Core/Model/Layout.php(206):
Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(148): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Catalog_CategoryController->viewAction()
#9 /public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch("view")
#10 /public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#11 /public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#12 /public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#13 /public_html/index.php(89): Mage::run("", "store")
#14 {main}

Spojrzałem na pliki szablonów, ale nie mogłemznaleźć dowolny plik zawierający lub nazwany czymś z „spotlight” Myślę, że nie jest to standardowy Magento. Uważam również, że ten błąd powoduje niepoprawne renderowanie strony koszyka, czy to możliwe?

Odpowiedzi:

0 dla odpowiedzi № 1

Powinieneś przeglądać pliki układu, a nie pliki szablonów. Blok z typem page/html_spotlight jest dodawany gdzieś w układzie. The rozszerzenie z tego przewodnika może pomóc w określeniu, gdzie jest dodawany.