Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,插件的回调地址有报错 #1

Open
ankylau opened this issue Jun 10, 2021 · 0 comments
Open

你好,插件的回调地址有报错 #1

ankylau opened this issue Jun 10, 2021 · 0 comments

Comments

@ankylau
Copy link

ankylau commented Jun 10, 2021

https://domain.com/wc-api/WC_Alipay/

错误如下:

Fatal error: Uncaught Error: Call to a member function get_total() on bool in /www/wwwroot/domain.com/wp-content/plugins/woo-alipay/inc/class-wc-alipay.php:355 Stack trace: #0 /www/wwwroot/domain.com/wp-includes/class-wp-hook.php(290): WC_Alipay->check_alipay_response() #1 /www/wwwroot/domain.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #2 /www/wwwroot/domain.com/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /www/wwwroot/domain.com/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action() #4 /www/wwwroot/domain.com/wp-includes/class-wp-hook.php(292): WC_API->handle_api_requests() #5 /www/wwwroot/domain.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /www/wwwroot/domain.com/wp-includes/plugin.php(551): WP_Hook->do_action() #7 /www/wwwroot/domain.com/wp-includes/class-wp.php(388): do_action_ref_array() #8 /www/wwwroot/domain.com/wp-includes/class-wp.php(750): WP->parse_request() #9 /www/wwwroot/domain.com/wp-includes/functions.php(1291): WP->main() # in /www/wwwroot/domain.com/wp-content/plugins/woo-alipay/inc/class-wc-alipay.php on line 355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant