Система не смогла распознать значение «1.0000» типа «string» как целое число.

[10 ноября 2016 г.]    Российская сборка Magento 2.49.12
Magento 2: модули и услуги
  • Тема закрыта
#1 Антон Бакаев
  • Группа: Официальный партнёр
  • Сообщений: 3
  • Регистрация: 01.05.2013

14.07.2014 13:02

При попытке открытия списка заказов в админке выдает ошибку "Система не смогла распознать значение «1.0000» типа «string» как целое число".
Страница с ошибкой -
http://probnik.by/index.php/admin/sales_order/


Текст ошибки:

Система не смогла распознать значение «1.0000» типа «string» как целое число.

#0 /home/vegasoft/probnik.by/app/code/local/Df/Core/Block/Template.php(408): Df_Zf_Validate_Nat0->filter('1.0000')
#1 /home/vegasoft/probnik.by/app/code/local/Df/Core/Block/Template.php(324): Df_Core_Block_Template->_addFilter('product_qty', Object(Df_Zf_Validate_Nat0))
#2 /home/vegasoft/probnik.by/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products/Product.php(42): Df_Core_Block_Template->_prop('product_qty', 'nat0')
#3 /home/vegasoft/probnik.by/app/code/local/Varien/Object.php(85): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products_Product->_construct()
#4 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(198): Varien_Object->__construct(Array)
#5 /home/vegasoft/probnik.by/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products/Product.php(60): Mage_Core_Block_Abstract->__construct(Array)
#6 /home/vegasoft/probnik.by/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(63): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products_Product::i(Array)
#7 /home/vegasoft/probnik.by/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/RendererDf/Products.php(97): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->getProducts()
#8 /home/vegasoft/probnik.by/app/code/local/Df/Core/Block/Template.php(63): Df_Sales_Block_Admin_Widget_Grid_Column_RendererDf_Products->needToShow()
#9 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(1380): Df_Core_Block_Template->getCacheKey()
#10 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(910): Mage_Core_Block_Abstract->_loadCache()
#11 /home/vegasoft/probnik.by/app/code/local/Df/Sales/Block/Admin/Widget/Grid/Column/Renderer/Products.php(10): Mage_Core_Block_Abstract->toHtml()
#12 /home/vegasoft/probnik.by/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))
#13 /home/vegasoft/probnik.by/app/design/adminhtml/default/default/template/widget/grid.phtml(161): Mage_Adminhtml_Block_Widget_Grid_Column->getRowField(Object(Df_Sales_Model_Order))
#14 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(241): include('/home/vegasoft/...')
#15 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#16 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#17 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#18 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#19 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#20 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('grid', true)
#21 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(77): Mage_Core_Block_Abstract->getChildHtml('grid')
#22 /home/vegasoft/probnik.by/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36): Mage_Adminhtml_Block_Widget_Grid_Container->getGridHtml()
#23 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(241): include('/home/vegasoft/...')
#24 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#25 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#26 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#27 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308): Mage_Adminhtml_Block_Template->_toHtml()
#28 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Widget_Container->_toHtml()
#29 /home/vegasoft/probnik.by/app/code/local/Df/Core/Block/Text/List.php(20): Mage_Core_Block_Abstract->toHtml()
#30 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(919): Df_Core_Block_Text_List->_toHtml()
#31 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#32 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#33 /home/vegasoft/probnik.by/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml('content')
#34 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(241): include('/home/vegasoft/...')
#35 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#36 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#37 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#38 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#39 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#40 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#41 /home/vegasoft/probnik.by/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(95): Mage_Core_Controller_Varien_Action->renderLayout()
#42 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->indexAction()
#43 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#44 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#45 /home/vegasoft/probnik.by/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#46 /home/vegasoft/probnik.by/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#47 /home/vegasoft/probnik.by/index.php(87): Mage::run('', 'store')
#48 {main}

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

14.07.2014 17:05

Добавил исправления к версии 2.35.9.

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