上传 500条 sku 就会报错,如果分2次上传每次200条可以成功导入,对于报错的情况,单独拿出了某几条单独导入都是成功的,不清楚为什么整体导入失败?缓存的问题?还是 PHPExcel_Calculation::unsetInstance 这个函数需要升级(stackflow有说这个函数需要换一个)
有时报错如下:
Database Exception – yii\db\Exception
Call to undefined method PHPExcel_Calculation::unsetInstance()
Failed to prepare SQL: UPDATE full_search_product SET url_key=:qp0, price=:qp1, cost_price=:qp2, special_price=:qp3, final_price=:qp4, sync_updated_at=:qp5 WHERE id=:qp6
↵
Caused by: Error
Call to undefined method PHPExcel_Calculation::unsetInstance()
in /opt/bitnami/apache/htdocs/fecmall/vendor/fancyecommerce/fec/lib/PHPExcel/PHPExcel.php at line 391
另一种报错:


