2

I have created new Grid in custom module. But when it use it displays following error.

Fatal error: Class 'XX_YY_Block_Adminhtml_Display' not found in C:\xampp\htdocs\xx\app\code\core\Mage\Core\Model\Layout.php on line 491

** I found some articles and it mentions to update layout.xml. But I could't found layout.xml. How to solve this problem

enter preformatted text here
  • it is clearly problem with your block XX_YY_Block_Adminhtml_Display. check the class name and folder are correct. – Qaisar Satti Feb 25 '16 at 4:50
  • Yeah. Thank you very much. I have written a wrong class name. It works now. – Dissanayake Feb 25 '16 at 5:00
1

this problem is not related to layout.xml. It is clearly problem with your block XX_YY_Block_Adminhtml_Display. check the class name and folder are correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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