* recoverable fatal error: Object of class stdClass could not be converted to string in /home/sites/all/themes/orange/template.php on line 212.
* recoverable fatal error: Object of class stdClass could not be converted to string in /home/sites/all/themes/orange/template.php on line 212.
* recoverable fatal error: Object of class stdClass could not be converted to string in /home/sites/all/themes/orange/template.php on line 212.
* recoverable fatal error: Object of class stdClass could not be converted to string in /home/sites/all/themes/orange/template.php on line 212.
One for each attribute for the product.
Function for Line 212 reads (212 is bold):
function orange_render_attributes($attributes) {
if ($attributes) {
$items = array();
foreach ($attributes as $attribute => $data) {
if (is_array($data)) {
$data = implode(' ', $data);
}
$items[] = $attribute .'="'. $data .'"';
}
$output = ' '. str_replace('_', '-', implode(' ', $items));
}
return $output;
}
I'm assuming this is a template issue. I am using the template Orange. Please halp!
