HELP: Invalid block type: Mage_Joomlart_Jmcategorylist_Block_List

I have just installed JM Lead and every time am test Paypal Pro in the sandbox I get an error "There has been an error processing your request" The transation goes through but the order is never written in magento. But when I check the exception log all I find is the following…

2010-09-15T02:54:55+00:00 ERR (3):
exception ‘Mage_Core_Exception’ with message ‘Invalid block type: Mage_Joomlart_Jmcategorylist_Block_List’ in /var/www/clients/client1/web4/web/app/Mage.php:550
Stack trace:
#0 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/Layout.php(469): Mage::throwException(‘Invalid block t…’)
#1 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/Layout.php(411): Mage_Core_Model_Layout->_getBlockInstance(‘joomlart_jmcate…’, Array)
#2 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/Email/Template/Filter.php(164): Mage_Core_Model_Layout->createBlock(‘joomlart_jmcate…’, NULL, Array)
#3 [internal function]: Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#4 /var/www/clients/client1/web4/web/lib/Varien/Filter/Template.php(134): call_user_func(Array, Array)
#5 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/Email/Template/Filter.php(502): Varien_Filter_Template->filter(‘{{block type="j…’)
#6 /var/www/clients/client1/web4/web/app/code/core/Mage/Cms/Block/Page.php(100): Mage_Core_Model_Email_Template_Filter->filter(‘{{block type="j…’)
#7 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(753): Mage_Cms_Block_Page->_toHtml()
#8 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#9 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(467): Mage_Core_Block_Abstract->_getChildHtml(‘cms_page’, true)
#10 /var/www/clients/client1/web4/web/app/code/core/Mage/Page/Block/Html/Wrapper.php(52): Mage_Core_Block_Abstract->getChildHtml(”, true, true)
#11 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(753): Mage_Page_Block_Html_Wrapper->_toHtml()
#12 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#13 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(753): Mage_Core_Block_Text_List->_toHtml()
#14 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(520): Mage_Core_Block_Abstract->toHtml()
#15 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(471): Mage_Core_Block_Abstract->_getChildHtml(‘content’, true)
#16 /var/www/clients/client1/web4/web/app/design/frontend/default/jm_lead/template/page/3columns.phtml(89): Mage_Core_Block_Abstract->getChildHtml(‘content’)
#17 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Template.php(212): include(‘/var/www/client…’)
#18 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Template.php(239): Mage_Core_Block_Template->fetchView(‘frontend/defaul…’)
#19 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Template.php(253): Mage_Core_Block_Template->renderView()
#20 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Block/Abstract.php(753): Mage_Core_Block_Template->_toHtml()
#21 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#22 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Controller/Varien/Action.php(389): Mage_Core_Model_Layout->getOutput()
#23 /var/www/clients/client1/web4/web/app/code/core/Mage/Cms/Helper/Page.php(130): Mage_Core_Controller_Varien_Action->renderLayout()
#24 /var/www/clients/client1/web4/web/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), ‘home’)
#25 /var/www/clients/client1/web4/web/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), ‘home’)
#26 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#27 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
#28 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http) )
#29 /var/www/clients/client1/web4/web/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()
#30 /var/www/clients/client1/web4/web/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#31 /var/www/clients/client1/web4/web/index.php(80): Mage::run(”, ‘store’)
#32 {main}

because of the

‘Invalid block type: Mage_Joomlart_Jmcategorylist_Block_List’

I think its gotta do with the template itself.
Am using Magento ver 1.4.1.1 with the sales patch applied

2 answers

Profile photo of Khanh Le Staff 0.00 $tone September 20, 2010
Public

JM CategoryList module does not include in JM donwload package. However, I found an mistake that the "Home page" refer to this module. I guess that’s the reason you got the error in your log. Please open "CMS -> Pages" in admin and open page "Home page" for edit, choose tab "Content". Remove the block jmcategorylist (code bellow) and click Save. Clear your log and make a test again and let me know the result.

Code:

{{block type="joomlart_jmcategorylist/list" name="home.jmcategorylist.list"}}
#2

Please login or Register to Submit Answer

Written By

Comments