cancel
Showing results for 
Search instead for 
Did you mean: 

Zend_Json_Exception' with message 'Decoding failed: Syntax error

Zend_Json_Exception' with message 'Decoding failed: Syntax error

Hello,

 

Hello, i have an old magento 1.8.1 that worked like a charm but sudently we can't order on it.
I have a error message when i want to pass order.
stack trace say :

#0 /home/magento/www/app/code/core/Mage/Core/Helper/Data.php(667): Zend_Json::decode('Error=Deprecate...', 0)
#1 /home/magento/www/app/code/community/Emagicone/Mobassistantconnector/Model/Observer.php(144): Mage_Core_Helper_Data->jsonDecode('Error=Deprecate...', 0)
#2 /home/magento/www/app/code/core/Mage/Core/Model/App.php(1338): Emagicone_Mobassistantconnector_Model_Observer->checkOrder(Object(Varien_Event_Observer))
#3 /home/magento/www/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Emagicone_Mobassistantconnector_Model_Observer), 'checkOrder', Object(Varien_Event_Observer))
#4 /home/magento/www/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('sales_order_sav...', Array)
#5 /home/magento/www/app/code/core/Mage/Core/Model/Abstract.php(466): Mage::dispatchEvent('sales_order_sav...', Array)
#6 /home/magento/www/app/code/core/Mage/Sales/Model/Order.php(2172): Mage_Core_Model_Abstract->_afterSave()
#7 /home/magento/www/app/code/core/Mage/Core/Model/Abstract.php(319): Mage_Sales_Model_Order->_afterSave()
#8 [internal function]: Mage_Core_Model_Abstract->save()
#9 /home/magento/www/app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#10 /home/magento/www/app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#11 /home/magento/www/app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#12 /home/magento/www/app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#13 /home/magento/www/app/code/core/Mage/Checkout/Model/Type/Onepage.php(785): Mage_Sales_Model_Service_Quote->submitAll()
#14 /home/magento/www/app/code/core/Mage/Checkout/controllers/OnepageController.php(579): Mage_Checkout_Model_Type_Onepage->saveOrder()
#15 /home/magento/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_OnepageController->saveOrderAction()
#16 /home/magento/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#17 /home/magento/www/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#18 /home/magento/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#19 /home/magento/www/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#20 /home/magento/www/index.php(87): Mage::run('', 'store')
#21 {main}

 

For information :

PHP 5.6.27-0+deb8u1 (cli) (built: Oct 15 2016 15:53:28)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

 

I only found topic that talk about php 7.0 problems...

 

Best regards

Matthieu.