• Resolved kovalchik8

    (@kovalchik8)


    There is a fatal error on trying to retrieve customer license keys from the orders with non-existing products.

    File plugins/license-manager-for-woocommerce/includes/Integrations/WooCommerce/Controller.php

    Method getCustomerLicenseKeys

    Potential fix: check if product exists before using its method get_meta.

    /** @var WC_Product_Simple|WC_Product_Variation $product */
    $product = $item_data->get_product();

    // Check if the product has been activated for selling.
    if (!$product || !$product->get_meta( 'lmfwc_licensed_product', true)) {
    continue;
    }

    Please fix it or tell me how to avoid the error.

    • This topic was modified 4 weeks ago by kovalchik8.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mobi5533

    (@mobi5533)

    Hi @kovalchik8,

    Thank You For Contacting WpExperts Support Team!

    Our technical team would need more details on the issue you are facing. Kindly create a ticket on our official website so we can assist you efficiently.

    Thank You

    Plugin Support mobi5533

    (@mobi5533)

    Hi @kovalchik8

    I hope you’re doing well! We just wanted to check in to see if you need any further assistance from our side.

    This ticket will close automatically in 24 hours due to inactivity, but if you have any additional questions or need support, feel free to reopen it or start a new one. We’ll be happy to help!

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.