• When you try to update a product other than a Simple Product, I get an error:

    Undefined array key "category_ids"

    I think the problem is in the WooMailerLiteResources trait on line 110:
    $data = ($item instanceof WC_Product_Simple) ?  $item->get_data() : get_object_vars($item);

    The get_object_vars function returns an empty array since the object attributes are protected.

Viewing 1 replies (of 1 total)
  • Plugin Author MailerLite

    (@mailerlite)

    Thanks for letting us know about this! To help you out, we’ll need to gather some sensitive information that we can’t handle here on the forum. Could you please get in touch with us directly here?
    When filling out the form, please add the code WP Forum or simply mention that you were advised to reach out from the forum. This way, we’ll be able to assist you faster and more effectively.

Viewing 1 replies (of 1 total)

The topic ‘Error on product update’ is closed to new replies.