Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

‘Mage_Adminhtml_Block_Sales_Order_Payment’ not found in Layout.php
Jr. Member
Total Posts:  25
Joined:  2009-04-03


I’m running Magento and I’m getting this error when trying to access orders in the backend:

Fatal error: Class ‘Mage_Adminhtml_Block_Sales_Order_Payment’ not found in /home/roccohom/public_html/site/app/code/core/Mage/Core/Model/Layout.php on line 462

There aren’t any problems on the frontend - the customer is able to view their order history.

I’m not sure how this problem has arisen (or whether it’s been there since the install) but the only modifications which have been made are to the template and skin files - nothing which could of caused an error in the backend.

Is there any way that I can debug this error in more detail, or has anyone had the same issue? Line 462 of Layout.php reads:

$block = new $block($attributes);

I’m stuck as to what might be casuing this. If anyone has any ideas it would be much appreciated!

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top