cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: Class 'Zend_Measure_Length' in MAGENTO 1.9.2.2

Fatal error: Class 'Zend_Measure_Length' in MAGENTO 1.9.2.2

please can you help me with this error ...

 

 

in this file i have this error ...   

 

/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php on line  445

 

Fatal error:  Class 'Zend_Measure_Length' not found in Mage_Usa_Model_Shipping_Carrier_Dhl_International.php on line 445

 

and this is the method who have this error ... 

 

 

    public function getCode($type, $code = '')
    {
        $codes = array(
            'unit_of_measure'   => array(
                'L' => Mage::helper('usa')->__('Pounds'),
                'K' => Mage::helper('usa')->__('Kilograms'),
            ),
            'unit_of_dimension' => array(
                'I' => Mage::helper('usa')->__('Inches'),
                'C' => Mage::helper('usa')->__('Centimeters'),
            ),
            'unit_of_dimension_cut' => array(
                'I' => Mage::helper('usa')->__('inch'),
                'C' => Mage::helper('usa')->__('cm'),
            ),
            'dimensions' => array(
                'HEIGHT'    => Mage::helper('usa')->__('Height'),
                'DEPTH'     => Mage::helper('usa')->__('Depth'),
                'WIDTH'     => Mage::helper('usa')->__('Width'),
            ),
            'size'              => array(
                '0' => Mage::helper('usa')->__('Regular'),
                '1' => Mage::helper('usa')->__('Specific'),
            ),
            'dimensions_variables'  => array(
                'L'         => Zend_Measure_Weight::POUND,
                'LB'        => Zend_Measure_Weight::POUND,
                'POUND'     => Zend_Measure_Weight::POUND,
                'K'         => Zend_Measure_Weight::KILOGRAM,
                'KG'        => Zend_Measure_Weight::KILOGRAM,
                'KILOGRAM'  => Zend_Measure_Weight::KILOGRAM,
                'I'         => Zend_Measure_Length::INCH,
                'IN'        => Zend_Measure_Length::INCH,
                'INCH'      => Zend_Measure_Length::INCH,
                'C'         => Zend_Measure_Length::CENTIMETER,
                'CM'        => Zend_Measure_Length::CENTIMETER,
                'CENTIMETER'=> Zend_Measure_Length::CENTIMETER,

            )
        );

and the 445 line is the  'I'  => Zend_Measure_Length::INCH

 

this is when i try to enter to the SHIPPING METHODS in SYSTEM->CONFIGURATION.

 

somebody can help me!!!!!!!!!!!!  Smiley Sad