title: Catchable fatal error: Object of class stdClass could not be converted to string in woocommerce plugin
body: <p><strong>For code:</strong></p>
  
  <pre><code>foreach ($statuses as $status_slug =&gt; $status) {
      printf('&lt;input type="checkbox" id="status_filter[]" name="status_filter[]" value="%s" /&gt; %s&lt;br /&gt;', $status_slug, $status);
   }
  </code></pre>
  
  <p><strong>Get Error:</strong></p>
  
  <blockquote>
    <p><strong>Catchable Fatal Error:</strong> Object of class stdClass could not be converted
    to string in woocommerce plugin</p>
  </blockquote>