首页 文章

Mage2:Arg 1传递给Magento \ Paypal \ Model \ Adminhtml \ Express :: isOrderAuthorizationAllowed()必须是Magento \ Sales \ Model \ Order \ Payment的实例

提问于
浏览
1

在Magento 2.2.5中,我在查看任何订单时收到此错误 .

致命错误:未捕获TypeError:参数1传递给Magento \ Paypal \ Model \ Adminhtml \ Express :: isOrderAuthorizationAllowed()必须是Magento \ Sales \ Model \ Order \ Payment的实例,null给定,在F:\ xampp \中调用第41行的htdocs \ magento_five \ vendor \ magento \ module-paypal \ Plugin \ OrderCanInvoice.php,在F:\ xampp \ htdocs \ magento_five \ vendor \ magento \ module-paypal \ Model \ Adminhtml \ Express.php中定义:170 Stack跟踪:#0 F:\ xampp \ htdocs \ magento_five \ vendor \ magento \ module-paypal \ Plugin \ OrderCanInvoice.php(41):Magento \ Paypal \ Model \ Adminhtml \ Express-> isOrderAuthorizationAllowed(NULL)#1 F:\ xampp \ htdocs \ magento_five \ vendor \ magento \ framework \ Interception \ Interceptor.php(146):Magento \ Paypal \ Plugin \ OrderCanInvoice-> afterCanInvoice(Object(Magento \ Sales \ Model \ Order \ Interceptor),false)#2 F :\ xampp \ htdocs \ magento_five \ vendor \ magento \ framework \ Interception \ Interceptor.php(153):Magento \ Sales \ Model \ Order \ Interceptor-> Magento \ Framework \ Interception ()#3 F:\ xampp \ htdocs中\ magento_five \发电机密封第169行的F:\ xampp \ htdocs \ magento_five \ vendor \ magento \ module-paypal \ Model \ Adminhtml \ Express.php中的ed \ code \ Magento \ Sales \ Model \ Order \ Inte

任何人都可以帮我解决这个问题 .

谢谢

1 回答

  • 0

    将Magento版本更新为2.2.5 . Magento在2.2.5版本上解决了上面的问题 .

相关问题