I'm trying to create a new widget. The development to admin works fine but not to frontend. Magento keep searching for my widget in mage. The widget.xml is aboce. Any clue/help?



Show FAQs Show FAQs

** ERROR (is not in Mage)** Warning: include(Mage\FAQs\Helper\Data.php): failed to open stream: No such file or directory in C:\Projectos\WGM\lib\Varien\Autoload.php on line 94 and the widget wont appear in admin

With Widget.xml like this


Show FAQs Show FAQs

I got no error when add the widget to a page via admin but when I call the page got an "exception 'Mage_Core_Exception' with message 'Tipo de Bloco inválido: Mage_FAQs_Block_Show' in C:\Projectos\WGM\app\Mage.php:595"

How can I tell Magento to find the widget in my module? Thanks


  • Tipo de Bloco inválido = invalid block type Oct 9, 2015 at 11:24

1 Answer 1


Your etc/config.xml must contain the correct block alias:




Either it is missing or you did not use the right capitalization. It works in the backend because at this point, the block is not instantiated, so an invalid block alias does not cause errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.