Title: son_decode() expects parameter 1 to be string
Last modified: February 18, 2022

---

# son_decode() expects parameter 1 to be string

 *  Resolved [redazione](https://wordpress.org/support/users/nio975/)
 * (@nio975)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/son_decode-expects-parameter-1-to-be-string/)
 * HI, from this evening i have this error, only into the wordpress backend.
    Worpdress5.9
   Woocommerce Version 6.2.0 Plugin Version 2.2.2 Warning: json_decode() expects
   parameter 1 to be string, array given in …/public_html/wp-content/plugins/woo-
   advanced-product-size-chart/admin/class-size-chart-for-woocommerce-admin.php 
   on line 374
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fson_decode-expects-parameter-1-to-be-string%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/son_decode-expects-parameter-1-to-be-string/#post-15395178)
 * Hello Nio,
 * Thanks for reaching out to us and for sharing the feedback with the details.
 * This type of issue might come if some size chart settings are not saved properly
   or blanked.
 * Can you please go to our Plugin Menu > Settings and review all the settings and
   save them and hope it works for you.
 * Also, we will review the same settings on our site, and if found anything we 
   will fix it in our upcoming version.
 * If you want to remove this notice from your site then add the below code on your
   root config.php file.
 * `defined('WP_DEBUG', false)`
 * Best Regards,
    Hitendra & Dotstore Team
 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/son_decode-expects-parameter-1-to-be-string/#post-15436452)
 * Hello Nio,
 * 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.
 * Best Regards,
    Hitendra & Dotstore Team

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

The topic ‘son_decode() expects parameter 1 to be string’ is closed to new replies.

 * ![](https://ps.w.org/woo-advanced-product-size-chart/assets/icon-256x256.png?
   rev=3011312)
 * [Product Size Charts Plugin for WooCommerce](https://wordpress.org/plugins/woo-advanced-product-size-chart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-advanced-product-size-chart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-advanced-product-size-chart/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-advanced-product-size-chart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-advanced-product-size-chart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-advanced-product-size-chart/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/son_decode-expects-parameter-1-to-be-string/#post-15436452)
 * Status: resolved