• Resolved raquelfernandes

    (@raquelfernandes)


    When you checkout, the following error appears in the error log file: Fatal error: Call to undefined method WC_Order::get_order_discount()
    How can I solved this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello
    Try enabling debug: https://codex.ww.wp.xz.cn/Debugging_in_WordPress
    and give more details about file and line where the error appears.

    Another thing you can try is disabling module one by one and see which one is throwing that error.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @raquelfernandes

    It would also be helpful to try switching back to a default theme like Twenty Seventeen and disable all plugins except for WooCommerce to see if this resolves the issue. If so, then re-enable each one at a time until you find the one that’s causing the conflict.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined method WC_Order::get_order_discount()’ is closed to new replies.