Title: PHP Warning
Last modified: May 22, 2024

---

# PHP Warning

 *  Resolved [henkesan](https://wordpress.org/support/users/henkesan/)
 * (@henkesan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-492/)
 * Hi,
 * We have for a couple of months now have PHP warning messages appearing in the
   WP Debug Log (appearing in RankMath tools)
   The messages appears as the following:
 * [22-May-2024 14:40:18 UTC] PHP Warning: Array to string conversion in /home/o69mudb/
   public_html/wp-content/plugins/facebook-for-woocommerce/includes/Admin/Enhanced_Catalog_Attribute_Fields.
   php on line 289
 * [21-May-2024 02:46:25 UTC] external merchant setting is null, something wrong
   here: {“message”:”prepare_variants_for_group called on non-variable product”,”
   object”:[]}
 * We have updated Facebook for WooCommerce at least 3 times since these errors 
   started to appear. And yes we currently have the latest version installed: 3.2.2

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

 *  [Afzal (woo-hc)](https://wordpress.org/support/users/afzalpansuvi/)
 * (@afzalpansuvi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-492/#post-17775382)
 * Hi [@henkesan](https://wordpress.org/support/users/henkesan/),
 * Thank you for reaching out and providing detailed information about the PHP warnings
   you’re encountering. It looks like the warnings are related to the Facebook for
   WooCommerce plugin. Here are a few steps and questions that might help us pinpoint
   the issue:
    1. **Conflict Check**: Have you recently installed or updated any other plugins
       or themes? Try deactivating all other plugins except WooCommerce and Facebook
       for WooCommerce to see if the warnings persist.
    2. **Theme Check**: Which theme are you using? Switch to a default theme like Storefront(
       [https://woo.com/products/storefront/](https://woo.com/products/storefront/))
       temporarily to see if that resolves the issue.
    3. **Plugin Settings**: Review your Facebook for WooCommerce settings to ensure
       everything looks correct. Any recent customizations might be contributing to
       the warnings.
 * Please share with us the **System Status Report** which you can find via `WooCommerce
   > Status > Get system report > Copy for support`. You could copy and paste your
   reply here or paste it via [https://gist.github.com/](https://gist.github.com/)
   and send the link here.
 * If the issue persists, providing the additional details requested will help us
   better diagnose the problem.
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-492/#post-17803818)
 * Hi 👋 We haven’t heard back from you in a while, so I’m going to mark this as
   resolved – we’ll be here if and/or when you are ready to continue.

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

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/php-warning-492/#post-17803818)
 * Status: resolved