- Affected version
- 2.0.0 Beta 1
ErrorException: A non-numeric value encountered src/XF/Mvc/Entity/Entity.php:748
Stack trace
Code:
#0 src/XF/Mvc/Entity/Entity.php(748): XF::handlePhpError(2, 'A non-numeric v...', '/var/www/dat...', 748, Array)
#1 src/XF/Mvc/Entity/Entity.php(614): XF\Mvc\Entity\Entity->_castValueToType('', 'price', 3, Array)
#2 src/XF/Mvc/Entity/Entity.php(554): XF\Mvc\Entity\Entity->set('price', '')
#3 src/addons/XFRM/Pub/Controller/Category.php(296): XF\Mvc\Entity\Entity->__set('price', '')
#4 src/XF/Mvc/Dispatcher.php(232): XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(85): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', 'html', Object(XF\Mvc\ParameterBag), 'xfrm')
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1771): XF\Mvc\Dispatcher->run()
#8 src/XF.php(319): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}
If use PHP 7.0.22, then everything is Ok