• Resolved wspolczesnaasystentka

    (@wspolczesnaasystentka)


    Hi,
    perhaps this problem has happened before. I get a fatal error when changing the status of the order to completed. E-mails are not coming. The user does not have access to the course.
    Log:
    Fatal error: Uncaught Error: Call to undefined function learn_press_create_order() in .../public_html/wp-content/plugins/manca-lp-wc-integration/admin/enrollment-sync.php:49 Stack trace: #0 .../public_html/wp-includes/class-wp-hook.php(305): lpwci_lp_enroll_on_wc_payment_complete(36) #1 .../public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #2 .../wwwoman.pl/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 .../public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(364): do_action('woocommerce_ord...', 36, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #4 .../public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition() #5 .../public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-b in /../public_html/wp-content/plugins/manca-lp-wc-integration/admin/enrollment-sync.php on line 49

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • alekasf

    (@alekasf)

    I have the same issue
    I use:
    * WordPress version 5.8.2
    * Learnpress version 4.1.4
    * Cool Integration for LearnPress & WooCommerce version 1.0

    Plugin Author Matías Anca

    (@matiasanca)

    Hi @wspolczesnaasystentka , @alekasf
    There is a new version of the plugin which solves the problem with LearnPress 4. Please update the plugin to version 1.1.

    Thanks for being patiente.
    Regards,
    Matías Anca

    Hi @matiasanca
    Thanks for the update!!!

    I update the plugin to the new version and made a test purchase with a coupon, not to make the real payment.
    When making the purchase and completing the order in Woocommerce, it is synchronized with learndash, however it does not enable the student to access the course

    Do you know why this happens? Any idea?

    Plugin Author Matías Anca

    (@matiasanca)

    I’m so sorry.
    There was a problem with my SVN uploading version 1.1.
    The new version 1.1.2 solves the problem.

    Regards,
    Matías Anca

    Hi @matiasanca
    Recently I update the plugin and yes, works perfectly!
    Thank you for uploading the changes so quickly.

    Regards,
    Aleka

    Plugin Author Matías Anca

    (@matiasanca)

    Thanks you for reporting the bugs ??

    Regards,
    Matías Anca

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Uncaught Error: Call to undefined method > LP_User::enroll() in’ is closed to new replies.