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 magento.stackexchange.com, 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 community@magento.com.

Magento Forum

Erro no módulo
 
joao_opositivo
Jr. Member
 
Total Posts:  6
Joined:  2012-07-26
 

Olá,

Eu estou concluindo o desenvolvimento de uma loja em Magento e desde algum tempo o módulo dos Correios do Pedro Teixeira está dando pau. Uso a versão 1.7.0.2 do magento. Na tela do carrinho, após inserir o CEP e clicar em Calcular frete, ocorre o erro abaixo:

Strict NoticeDeclaration of PedroTeixeira_Correios_Model_Carrier_CorreiosMethod::isZipCodeRequired() should be compatible with that of Mage_Shipping_Model_Carrier_Abstract::isZipCodeRequired()  in /home/storage/5/2d/b1/pinklemon/public_html/app
code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php on line 27 
 
#0 /home/storage/5/2d/b1/pinklemon/public_html/app/code/community/PedroTeixeira/Correios/Model/Carrier/CorreiosMethod.php(27): mageCoreErrorHandler(2048, 'Declaration of ...', '/home/storage/5...', 27, Array) 
#1 /home/storage/5/2d/b1/pinklemon/public_html/lib/Varien/Autoload.php(93): include('/home/storage/5...') 
#2 [internal function]: Varien_Autoload->autoload('PedroTeixeira_C...') 
#3 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Core/Model/Config.php(1346): spl_autoload_call('PedroTeixeira_C...') 
#4 /home/storage/5/2d/b1/pinklemon/public_html/app/Mage.php(462): Mage_Core_Model_Config->getModelInstance('PedroTeixeira_C...') 
#5 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Shipping/Model/Shipping.php(419): Mage::getModel('PedroTeixeira_C...', Array) 
#6 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Shipping/Model/Shipping.php(157): Mage_Shipping_Model_Shipping->getCarrierByCode('PedroTeixeira_C...') 
#7 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Shipping/Model/Shipping.php(129): Mage_Shipping_Model_Shipping->collectCarrierRates('pedroteixeira_c...', '1') 
#8 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Sales/Model/Quote/Address.php(888): Mage_Shipping_Model_Shipping->collectRates('pedroteixeira_c...', Object(Mage_Shipping_Model_Rate_Request)) 
#9 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Sales/Model/Quote/Address.php(819): Mage_Sales_Model_Quote_Address->requestShippingRates(Object(Mage_Shipping_Model_Rate_Request)) 
#10 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php(155): Mage_Sales_Model_Quote_Address->collectShippingRates() 
#11 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Sales/Model/Quote/Address.php(957): Mage_Sales_Model_Quote_Address_Total_Shipping->collect() 
#12 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Sales/Model/Quote.php(1263): Mage_Sales_Model_Quote_Address->collectTotals(Object(Mage_Sales_Model_Quote_Address)) 
#13 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Checkout/Model/Cart.php(464): Mage_Sales_Model_Quote->collectTotals() 
#14 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Checkout/controllers/CartController.php(126): Mage_Checkout_Model_Cart->save() 
#15 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Checkout_CartController->indexAction() 
#16 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch() 
#17 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match('index') 
#18 /home/storage/5/2d/b1/pinklemon/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http)) 
#19 /home/storage/5/2d/b1/pinklemon/public_html/app/Mage.php(683): Mage_Core_Model_App->run() 
#20 /home/storage/5/2d/b1/pinklemon/public_html/index.php(88): Mage::run(Array) 
#21 {main}

Por esse erro vcs saberiam me dizer o que pode estar ocorrendo? A cliente está com o site hospedado na Locaweb, e eu ouvi dizer que o servidor dos Correios tá dando pau mesmo, porém acredito que o log acima não tenha nada a ver com o webservice dos correios. Quem puder me ajudar, agradeço demais!

Tks.

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