tzyganu / Switcher

Configurable products switcher
MIT License
171 stars 71 forks source link

Extension throws error on php7 #158

Closed InkeyesLT closed 8 years ago

InkeyesLT commented 8 years ago

Hello, recently we tried to use extension on server with php 7 and got this error while trying to access extension settings in admin. `a:5:{i:0;s:29:"Decoding failed: Syntax error";i:1;s:2134:"#0 /home/sportsman/public_html/app/code/core/Mage/Core/Helper/Data.php(659): Zend_Json::decode('', 1)

1 /home/sportsman/public_html/app/code/community/Easylife/Switcher/Model/Adminhtml/System/Attribute.php(37): Mage_Core_Helper_Data->jsonDecode(false)

2 /home/sportsman/public_html/app/code/core/Mage/Core/Model/Config/Data.php(78): Easylife_Switcher_Model_Adminhtml_System_Attribute->_afterLoad()

3 /home/sportsman/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(334): Mage_Core_Model_Config_Data->afterLoad()

4 /home/sportsman/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(229): Mage_Adminhtml_Block_System_Config_Form->initFields(Object(Varien_Data_Form_Element_Fieldset), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))

5 /home/sportsman/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php(164): Mage_Adminhtml_Block_System_Config_Form->_initGroup(Object(Varien_Data_Form), Object(Mage_Core_Model_Config_Element), Object(Mage_Core_Model_Config_Element))

6 /home/sportsman/public_html/app/code/core/Mage/Adminhtml/Block/System/Config/Edit.php(92): Mage_Adminhtml_Block_System_Config_Form->initForm()

7 /home/sportsman/public_html/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(107): Mage_Adminhtml_Block_System_Config_Edit->initForm()

8 /home/sportsman/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_System_ConfigController->editAction()

9 /home/sportsman/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')

10 /home/sportsman/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))

11 /home/sportsman/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()

12 /home/sportsman/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)

13 /home/sportsman/public_html/index.php(97): Mage::run('default', 'store')

14 {main}";s:3:"url";s:99:"/index.php/admin/system_config/edit/section/easylife_switcher/key/97c2648a5bc21d419a1b8fc3b8f3b842/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}`

Maybe you know a solution for this?

tzyganu commented 8 years ago

@InkeyesLT Sorry, but the extension does not support PHP 7. From what I know Magento 1 does not support PHP 7 out of the box (but I may be wrong).

skazhikadyadya commented 7 years ago

Hi, thank you. Problem is not solved?.. :(

tzyganu commented 7 years ago

No. The problem is not solved. An it will not be. This extension is discontinued

skazhikadyadya commented 7 years ago

Very sad. Okay, can you recommend third-party extension which will works like your nice plugin with products list in category? Thank you.

ср, 19 июля 2017 г. в 14:00, Marius Strajeru notifications@github.com:

No. The problem is not solved. An it will not be. This extension is discontinued

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tzyganu/Switcher/issues/158#issuecomment-316349831, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvi3WhsgH-Kl6cLEehLOH7dnXXSQT2pks5sPeHJgaJpZM4I0TeI .

-- Отправлено с iPhone.