How to solve below error

Fatal error: Uncaught Error: Class 'Mage_Companyname_Deliverydate_Block_Adminhtml_Mappingdate' not found in \app\code\core\Mage\Core\Model\Layout.php on line 590

below is my files



class Companyname_Deliverydate_Block_Adminhtml_Mappingdate  
    extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract

    public function __construct()
        $helper = Mage::helper('deliverydate');

        $this->addColumn('column_one', array(
            'style' => 'width:200px',
            'label' => $helper->__('Column One'),

        $this->addColumn('column_two', array(
            'style' => 'width:200px',
            'label' => $helper->__('Column Two'),

        $this->addColumn('column_three', array(
            'style' => 'width:80px',
            'label' => $helper->__('Column Three'),



                    <deliverytime_format>g:i a</deliverytime_format>


        <deliverydate translate="label" module="deliverydate">
            <label>Delivery Date</label>
                <deliverydate_general translate="label">
       <label>Date Off</label>                  <frontend_model>companyname_deliverydate/adminhtml_mappingdate</frontend_model>                          <backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
                            <show_in_default>1</show_in_default>   <show_in_website>1</show_in_website>
  • file is available at the path @rakesh – divya sekar Mar 9 '19 at 6:39
  • check my answer – Rakesh Donga Mar 9 '19 at 6:41
  • How looks your xml file where you overwrite the default block? – HelgeB Mar 9 '19 at 6:44
  • For me it's still not clear how your block is called. You have no rewrite in your xml for the Magento default block, that would be the simplest way to use your block instead of Magento's. do you have a custom layout xml where you have put something? The layout definition does not route to your module. – HelgeB Mar 9 '19 at 7:23

you can replace below line



  • please mention where going to change this line – divya sekar Mar 9 '19 at 6:44
  • i tried for array serialized pls refer this @rakesh – divya sekar Mar 9 '19 at 6:53
  • When I was used Mage it shows a same error @rakesh – divya sekar Mar 9 '19 at 7:02
  • Can u please tell me what was the issue in that file @rakesh – divya sekar Mar 9 '19 at 7:26
  • here issue in calling file problem – Rakesh Donga Mar 9 '19 at 7:28

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.