【问题标题】:PayPal SOAP: "Declaration of PayPal::raiseError() should be compatible with that of PEAR::raiseError()"PayPal SOAP:“PayPal::raiseError() 的声明应与 PEAR::raiseError() 的声明兼容”
【发布时间】:2011-05-18 15:59:03
【问题描述】:

我已下载Paypal API for PHP (SOAP),但出现此错误:

严格标准:声明 PayPal::raiseError() 应该是 兼容的 梨::raiseError() 在 ....paypal/PayPal.php 第 24 行

当我这样称呼时:

$handler =& ProfileHandler_Array::getInstance(
        array(    'username'        => $this->api_username,
                'certificateFile' => $this->api_certificate,
                'signature'       => $this->api_signature,
                'subject'         => $this->api_subject,
                'environment'     => (($this->api_test)?'Sandbox':'Live')
        )
        );

有什么想法吗?

问候

贾维

【问题讨论】:

    标签: php paypal pear


    【解决方案1】:

    这是一个错误,应该修复。请在 pear bugtracker 中打开报告。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-13
      • 2011-04-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-18
      相关资源
      最近更新 更多