• When I click to buy a course from the single course page, It shows (There has been a critical error on this website.) and, an error occurred before buying course button.

    call_user_func_array() expects parameter 1 to be a valid callback, class ‘ECA_Woo_Payment’ does not have a method ‘add_to_cart’ in wp-includes/class-wp-hook.php on line 292.

    When I disable woo payment from learnpress settings, all errors disappear. But, I must need to enable woo payment option.

    Please, take a look.

    Thanks

    • This topic was modified 3 years, 4 months ago by Hafizul Islam.

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

Viewing 1 replies (of 1 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    Can you tell us the name of your theme and plugin you using to compatible LearnPress with Woocommerce? We confirm our plugin don’t have this class ” ECA_Woo_Payment”

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Critical error when Woo Payment enabled’ is closed to new replies.