1

Fatal error: Class 'Helper_Data' not found in app\Mage.php

Fatal error: Class 'Mage_Parcelamento_Helper_Data' not found in

C:\wamp64\www\magento\app\Mage.php on line 547

Error log:

Warning: include(Mage\Parcelamento\Helper\Data.php): failed to open stream: No such file or directory in lib\Varien\Autoload.php on line 94

I did what you said, but it's still with the same error.

https://drive.google.com/open?id=0B66I9AyUOaAnS21VMmNFSlEwSEk

1

Your extension is calling helper data from extension Bizcommerce_Parcelamento So you need to integrate this extension too.

If you check this class

class FLB_Cielo_Block_Form_Cc extends Mage_Payment_Block_Form_Cc {

    /** @var Bizcommerce_Parcelamento_Helper_Data */
    private $_parcelamento = null;

    protected function _construct() {
        parent::_construct();
        $this->_parcelamento = Mage::helper('parcelamento');
        $this->setTemplate('cielo/form/cc.phtml');
        $this->setModuleName('Mage_Payment');
    }

public function getParcelas() {
...

        $this->_parcelamento->numparcelas = $maxParcelas;
        $this->_parcelamento->parcelaMinima = $valorMinimo;
        $this->_parcelamento->juros = $taxaJuros;
        $this->_parcelamento->tipoJuros = $tipoJuros;
        $this->_parcelamento->numParcelasSemJuros = $parcelasSemJuros;
        $this->_parcelamento->descontoPrimeiraParcela = $descontoPrimeiraParcela;
        $parcelamento = $this->_parcelamento->getParcelamentosPossiveis($total);

}

Data are getting called from this helper data which is not found so you are getting the error Mage_Parcelamento_Helper_Data not found.

Hope this helps.

  • I really don't understand, I have to put this code where? In config.xml ? – Guilherme Pereira Jun 27 '17 at 4:50
  • You dont have to put this code. I have shown you this code so you can understand why you were getting error. – Priyank Jun 27 '17 at 5:08
  • Ok, thank you. But I don't know what I have to do, I'm no programmer :/ – Guilherme Pereira Jun 27 '17 at 5:18
  • give some details of your extension – Priyank Jun 27 '17 at 5:43
  • Well, it's a Cielo module for automatic payments – Guilherme Pereira Jun 27 '17 at 5:47

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.