You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The customAttributes() method in src/includes/classes/Utils/JsSnippet.php is producing the following:
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
Notice: Array to string conversion in /app/src/wp-content/plugins/woocommerce-intercom-pro/src/includes/classes/Utils/JsSnippet.php on line 108
- **Bug Fix**: Fixed a "Notice: Array to string conversion" bug when getting available user downloads from WooCommerce. See [Issue #2](wpsharks/woocommerce-intercom-pro#2).
- **Enhancement**: The `total_spent` Custom Attribute is now padded to two decimal places, ensuring that a zero value gets passed as `0.00` and values that end in a zero include the padded zero (e.g., `5.50` instead of `5.5`). See [this commit](wpsharks/woocommerce-intercom-pro@86f8ac4).
- Updated WP PHP RV to v160824.6416.
The
customAttributes()
method insrc/includes/classes/Utils/JsSnippet.php
is producing the following:https://github.com/websharks/woocommerce-intercom-pro/blob/dev/src/includes/classes/Utils/JsSnippet.php#L108
This is because
wc_get_customer_available_downloads()
returns an array of arrays.The text was updated successfully, but these errors were encountered: