Magento CE 220.127.116.11
I would like to rewrite Mage_Adminhtml_Block_Catalog_Product_Edit.
Specifically this file: app/code/Mage/Adminhtml/Block/Catalog/Product/Edit.php
In my custom module's etc/config.xml file I have this for the rewrite block (not actually MyCompany/MyModule):
<adminhtml> <rewrite> <catalog_product_edit>MyCompany_MyModule_Block_Adminhtml_Catalog_Product_Edit</catalog_product_edit> </rewrite> </adminhtml>
But where this approach has worked before for overwriting other blocks, I'm now getting this PHP error:
PHP Fatal error: Class 'MyCompany_MyModule_Block_Adminhtml_Catalog_Product_Edit' not found in /var/www/html/app/code/core/Mage/Core/Model/Layout.php on line 491
I think my config.xml rewrite entry might be at fault but I'm not certain.