• Resolved isant

    (@isant)


    Hi since few days i have an error when client buy more than one learnpress course
    Bug at final checkout

    i use plugin Manca to link to woocommerce

    My log

    [18-May-2021 12:42:20 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type stdClass as array in /www/wp-content/plugins/learnpress/inc/user/abstract-lp-user.php:2326
    Stack trace:
    #0 /www/wp-content/plugins/learnpress/inc/user/abstract-lp-user.php(2427): LP_Abstract_User->enroll_course(2876, 3032, false, false)
    #1 /www/wp-content/plugins/manca-lp-wc-integration/admin/enrollment-sync.php(60): LP_Abstract_User->enroll(2876, 3032, true)
    #2 /www/wp-includes/class-wp-hook.php(294): lpwci_lp_enroll_on_wc_payment_complete(3030)
    #3 /www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #4 /www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /www/wp-content/plugins/woocommerce/includes/class-wc-order.php(363): do_action('woocommerce_ord...', 3030, Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #6 /www/wp-content/plugins/woocommerce/includes/class-wc-order.php(221): WC_Order->status_transition()
    #7 /w in /home/erikaba/www/wp-content/plugins/learnpress/inc/user/abstract-lp-user.php on line 2326

    thank you very much ?? isabelle from france

Viewing 1 replies (of 1 total)
  • Hi, from Lima – Perú.
    When LearnPress updated to the 4th version this plugin got disconnected, and I can′t find a way to make it work with WooCommerce. Would you please check this.
    Thanks.
    Luis Rivera

Viewing 1 replies (of 1 total)
  • The topic ‘Bug at final checkout’ is closed to new replies.