1. ecshop 后台订单管理出现
number_format() expects parameter 1 to be double, string given in E:\wamp\www\ecshopVjia\includes\lib_common.php on line 963
2,解决方法 :
(1)
function price_format($price, $change_price = true)
{
$price = 0 + $price; //添加这一行,转换成数值
(2)在lib_common.php on line 963 修改
将includes\lib_common.php 的963行:
修改为
即可。原因是配送插件里面的免费额度为0,ec本身的bug导致了$price的值为空值,直接调用number_format出现了错误。