我在我的网站上使用支付款,但是在我的prod服务器(在dev server中,一切都很好),我得到了以下错误:
编译错误:无法继承Payum\Request\StatusRequestInterface::getModel() (以前在Payum\FatalErrorException\ModelRequestInterface中声明的抽象)在/path/to/folder/vendor/payum/payum/src/Payum/Request/BinaryMaskStatusRequest.php第5行中的抽象函数
下面是vendor/payum/payum/src/Payum/Request/BinaryMaskStatusRequest.php第5行的代码
class BinaryMaskStatusRequest extends BaseModelInteractiveRequest implements StatusRequestInterface {在我的开发服务器中,我使用了PHP5.3.10,而在prod服务器中,我使用了PHP5.3.3。
发布于 2013-08-02 19:40:18
实际上,我评论了Payum\Request\StatusRequestInterface::getModel()函数,但我确信这不是修复它的正确方法
抓得好!我将在getModel接口上删除这些方法(setModel和StatusRequestInterface )。它们来自于以前的版本,不应该再存在了。不好的是,我只能在0.6版之后才能删除它们,因为它引入了BC中断。
https://stackoverflow.com/questions/17989251
复制相似问题