php - Catchable fatal error: Object of class stdClass could not be converted to string in woocommerce plugin -


for code:

foreach ($statuses $status_slug => $status) {     printf('<input type="checkbox" id="status_filter[]" name="status_filter[]" value="%s" /> %s<br />', $status_slug, $status);  } 

get error:

catchable fatal error: object of class stdclass not converted string in woocommerce plugin

try search backwards , see place object created/instantiated , if forgot so, it, or otherwise rid of line uses it, if not meant there. or check spelling errors making sure using right variable hold object, thease possible w


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -