• Hi,

    We are using Meta for WooCommerce version 3.7.1 with WooCommerce, WPML and variable products.

    When moving a product to trash, the site triggers the following fatal error from Meta for WooCommerce:

    Uncaught Error: Call to a member function get_children() on null in /facebook-for-woocommerce/includes/ProductSync/ProductValidator.php:354

    The error happens during wp_trash_post, when WPML is also trashing translated product variations.

    The site appears to work normally after the error, but this happens when deleting or trashing products, so it should be fixed.

    Could you please check if this is a known compatibility issue with WPML and variable products?

    I can provide the full stack trace and WooCommerce System Status report, but I would prefer not to post the complete reports publicly because they contain server and environment information.

    Could you provide a secure/private method for sharing these files, such as a support ticket, secure upload link, or email address?

    Once I have a private upload location, I will send the complete logs and system report.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Marija

    (@marijastuntcoders)

    Hi @mike86 ,

    Thank you for reaching out and sharing the report – we will look into this further and let you know as soon as we have an update.

    You can share the System Status report and logs to the official email address – [email protected]. Please ensure that the subject is the same as the topic title (Fatal error when trashing variable product with WPML), and let us know once you have sent it.

    Kind regards,
    Marija

    Thread Starter mike86

    (@mike86)

    Hi,

    Thank you for providing a private method for sharing the information.

    I have now sent the WooCommerce System Status report and the full error stack to [email protected] using the subject line:

    “Fatal error when trashing variable product with WPML”

    Please let me know if you need any additional information.

    Plugin Support Marija

    (@marijastuntcoders)

    Hi @mike86 !

    We are not seeing the email, can you please share it again (with the same contents and subject line)?

    Kind regards,
    Marija

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.