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

Call to undefined method WC_Order::is_compound() #14484

Closed
unoframille opened this issue Apr 18, 2017 · 0 comments
Closed

Call to undefined method WC_Order::is_compound() #14484

unoframille opened this issue Apr 18, 2017 · 0 comments
Assignees
Labels
type: bug The issue is a confirmed bug.
Milestone

Comments

@unoframille
Copy link

EXPLANATION OF THE ISSUE

Fatal error: Call to undefined method WC_Order::is_compound()

STEPS TO REPRODUCE THE ISSUE

call get_subtotal_to_display() function

Solution???

is_compound() refers to the fee then the line 1354 of abstract_wc_order.php should be changed from:

if ( $this->is_compound() ) {

to

if ( $tax->is_compound() ) {

@mikejolley mikejolley self-assigned this Apr 18, 2017
mikejolley added a commit that referenced this issue Apr 18, 2017
@mikejolley mikejolley added Status: has-pr type: bug The issue is a confirmed bug. labels Apr 18, 2017
@mikejolley mikejolley added this to the 3.0.4 milestone Apr 18, 2017
claudiosanches pushed a commit that referenced this issue Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants