fecyo在升级- 1.9.4 -版本后进入商城首页发生如下报错:
Invalid Call – yii\base\InvalidCallException
fecshop service method is not exit. fecshop\services\helper\Format::actionNumberFormat
in D:\wamp64\www\fecshop\vendor\fancyecommerce\fecshop\services\Service.php at line 60}
public function __call($originMethod, $arguments)
{
if (isset($this->_callFuncLog[$originMethod])) {
$method = $this->_callFuncLog[$originMethod];
} else {
$method = 'action'.ucfirst($originMethod);
$this->_callFuncLog[$originMethod] = $method;
}
if (method_exists($this, $method)) {
$this->beginCall($originMethod, $arguments);
$return = call_user_func_array([$this, $method], $arguments);
$this->endCall($originMethod, $arguments);
return $return;
} else {
throw new InvalidCallException('fecshop service method is not exit. '.get_class($this)."::$method");
}
}