• Resolved bebewazza

    (@bebewazza)


    I see this error everywhere on the php errorlog of my website:

    external merchant setting is null, something wrong here: {“message”:”prepare_variants_for_group called on non-variable product”,”object”:[]}

    please fix it, you should find the ‘prepare_variants_for_group’ in includes/fbproduct.php

    This error is only appearing in php_errorlog file

    I have a multi-merchant website using WCFM plugin and they all can link their facebook to sell products on their page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Mike M. a11n

    (@mikedmoore)

    Automattic Happiness Engineer

    Hi there!

    The error message seems to be indicating that on a simple (non variable) product on your site the prepare variants function is somehow being called.

    Do you have both simple and variable products configured on your WooCommerce install?

    Can you also enable the debug log for Facebook for WooCommerce by enabling this setting?

    https://d.pr/i/eKntu9

    Once enabled can you attempt a product sync from WooCommerce to Facebook and send us a copy of any created Facebook log files from WooCommerce > Status > Logs.

    mother.of.code

    (@imazed)

    The Mother of Code

    Hi @bebewazza! We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘inifinite php error’ is closed to new replies.