Recoverable Error: Argument 1 passed to df_a() must be an array, object given, called in /var/www/euro-mebel.biz/app/code/local/Df/Adminhtml/Block/Wid

[10 ноября 2016 г.]    Российская сборка Magento 2.49.12
Magento 2: модули и услуги
  • Тема закрыта
#1 Роман Полковников
  • Группа: Официальный партнёр
  • Сообщений: 196
  • Регистрация: 19.03.2013
  • Телефон:(861)243-40-84

13.05.2014 16:39

euro-mebel.biz,
Здравствуйте после обновления до 2.34.0 (1.8.0.0) в ПУ продажи/заказы вылетает ошибка:
Recoverable Error: Argument 1 passed to df_a() must be an array, object given, called in /var/www/euro-mebel.biz/app/code/local/Df/Adminhtml/Block/Widget/Grid/Column/RendererDf.php on line 31 and defined in /var/www/euro-mebel.biz/app/code/local/Df/Core/lib/fp/array.php on line 8

Цитата

Recoverable Error: Argument 1 passed to df_a() must be an array, object given, called in /var/www/euro-mebel.biz/app/code/local/Df/Adminhtml/Block/Widget/Grid/Column/RendererDf.php on line 31 and defined in /var/www/euro-mebel.biz/app/code/local/Df/Core/lib/fp/array.php on line 8

#0 /var/www/euro-mebel.biz/app/code/local/Df/Core/lib/fp/array.php(8): mageCoreErrorHandler(4096, 'Argument 1 pass...', '/var/www/euro-m...', 8, Array)
#1 /var/www/euro-mebel.biz/app/code/local/Df/Adminhtml/Block/Widget/Grid/Column/RendererDf.php(31): df_a(Object(Df_Sales_Model_Order), 'df_names', NULL)
#2 /var/www/euro-mebel.biz/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(81): Df_Adminhtml_Block_Widget_Grid_Column_RendererDf->getRowParam('df_names')
#3 [internal function]: Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->parseConcatenatedValues('df_names')
#4 /var/www/euro-mebel.biz/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(177): array_map(Array, Array)
#5 /var/www/euro-mebel.biz/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(57): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->getProductsData()
#6 /var/www/euro-mebel.biz/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(97): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->getProducts()
#7 /var/www/euro-mebel.biz/app/code/local/Df/Core/Block/Template.php(79): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->needToShow()
#8 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(1344): Df_Core_Block_Template->getCacheLifetime()
#9 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(877): Mage_Core_Block_Abstract->_loadCache()
#10 /var/www/euro-mebel.biz/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/Renderer/Products.php(10): Mage_Core_Block_Abstract->toHtml()
#11 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php(128): Df_Sales_Block_Admin_Widget_Grid_Column_Renderer_Products->render(Object(Df_Sales_Model_Order))
#12 /var/www/euro-mebel.biz/app/design/adminhtml/default/default/template/widget/grid.phtml(161): Mage_Adminhtml_Block_Widget_Grid_Column->getRowField(Object(Df_Sales_Model_Order))
#13 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/euro-m...')
#14 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#15 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#16 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#17 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Adminhtml_Block_Template->_toHtml()
#18 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(605): Mage_Core_Block_Abstract->toHtml()
#19 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Abstract->_getChildHtml('grid', true)
#20 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(77): Mage_Core_Block_Abstract->getChildHtml('grid')
#21 /var/www/euro-mebel.biz/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36): Mage_Adminhtml_Block_Widget_Grid_Container->getGridHtml()
#22 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/euro-m...')
#23 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#24 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#25 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#26 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308): Mage_Adminhtml_Block_Template->_toHtml()
#27 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Adminhtml_Block_Widget_Container->_toHtml()
#28 /var/www/euro-mebel.biz/app/code/local/Df/Core/Block/Text/List.php(20): Mage_Core_Block_Abstract->toHtml()
#29 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(886): Df_Core_Block_Text_List->_toHtml()
#30 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(605): Mage_Core_Block_Abstract->toHtml()
#31 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(549): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#32 /var/www/euro-mebel.biz/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml('content')
#33 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/euro-m...')
#34 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#35 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#36 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#37 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Block/Abstract.php(886): Mage_Adminhtml_Block_Template->_toHtml()
#38 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#39 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#40 /var/www/euro-mebel.biz/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(95): Mage_Core_Controller_Varien_Action->renderLayout()
#41 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->indexAction()
#42 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#43 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#44 /var/www/euro-mebel.biz/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#45 /var/www/euro-mebel.biz/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#46 /var/www/euro-mebel.biz/index.php(94): Mage::run('', 'store')
#47 {main}


#2 Дмитрий Федюк
  • Администратор
  • Иконка
  • Группа: Администратор
  • Сообщений: 8884
  • Регистрация: 20.02.2010

16.05.2014 15:17

Добавил исправления к версии 2.34.0, переустановите её заново.

Поделиться темой: