更新时间:2022-03-17 23:48:24
我发现问题来自文件PHPExcel/Calculation.php中的库.
I find the problem come from the library in the file PHPExcel/Calculation.php.
您必须在类PHPExcel_Calculation的开头添加一行,然后添加private $saveThis;
行,并在构造函数(1722行)中添加line $this->saveThis = $this;
,在destruct函数(1740行)中,将remplace $this
替换为$saveThis
You have to add a line at the begin of the class PHPExcel_Calculation add a line private $saveThis;
and in the construct function(line 1722) add a line $this->saveThis = $this;
and in the destruct function (line 1740) remplace $this
by $saveThis