froger-me/woo-alipay

你好,插件报错了

Opened this issue · 0 comments

Warning: Undefined variable $result in /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/inc/class-wc-alipay.php on line 254

Fatal error: Uncaught Error: Call to undefined function each() in /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/lib/alipay/aop/AopClient.php:411 Stack trace: #0 /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/lib/alipay/aop/AopClient.php(395): AopClient->buildRequestForm() #1 /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/lib/alipay/pagepay/service/AlipayTradeService.php(107): AopClient->pageExecute() #2 /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/lib/alipay/pagepay/service/AlipayTradeService.php(81): AlipayTradeService->aopclientRequestExecute() #3 /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/inc/class-wc-alipay.php(285): AlipayTradeService->pagePay() #4 /www/wwwroot/www.dashengx.com/wp-includes/class-wp-hook.php(308): WC_Alipay->receipt_page() #5 /www/wwwroot/www.dashengx.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /www/wwwroot/www.dashengx.com/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/templates/checkout/order-receipt.php(44): do_action() #8 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #9 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(243): wc_get_template() #10 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(59): WC_Shortcode_Checkout::order_pay() #11 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output() #12 /www/wwwroot/www.dashengx.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper() #13 /www/wwwroot/www.dashengx.com/wp-includes/shortcodes.php(355): WC_Shortcodes::checkout() #14 [internal function]: do_shortcode_tag() #15 /www/wwwroot/www.dashengx.com/wp-includes/shortcodes.php(227): preg_replace_callback() #16 /www/wwwroot/www.dashengx.com/wp-includes/class-wp-hook.php(308): do_shortcode() #17 /www/wwwroot/www.dashengx.com/wp-includes/plugin.php(205): WP_Hook->apply_filters() #18 /www/wwwroot/www.dashengx.com/wp-includes/blocks/post-content.php(54): apply_filters() #19 /www/wwwroot/www.dashengx.com/wp-includes/class-wp-block.php(258): render_block_core_post_content() #20 /www/wwwroot/www.dashengx.com/wp-includes/class-wp-block.php(244): WP_Block->render() #21 /www/wwwroot/www.dashengx.com/wp-includes/blocks.php(1072): WP_Block->render() #22 /www/wwwroot/www.dashengx.com/wp-includes/blocks.php(1110): render_block() #23 /www/wwwroot/www.dashengx.com/wp-includes/block-template.php(242): do_blocks() #24 /www/wwwroot/www.dashengx.com/wp-includes/template-canvas.php(12): get_the_block_template_html() #25 /www/wwwroot/www.dashengx.com/wp-includes/template-loader.php(106): include('...') #26 /www/wwwroot/www.dashengx.com/wp-blog-header.php(19): require_once('...') #27 /www/wwwroot/www.dashengx.com/index.php(17): require('...') #28 {main} thrown in /www/wwwroot/www.dashengx.com/wp-content/plugins/woo-alipay/lib/alipay/aop/AopClient.php on line 411