Normally when I've seen this it's when you are using a variable like a normal string when in fact it's actually an array such as this example:
[Tue Mar 13 04:22:35 2018] [error] PHP Catchable fatal error: Object of class WP_Term could not be converted to string in /vhost/httpdocs/wp-content/plugins/wp-instagram-post/classes/class-woo-igp.php on line 578
$tags = get_tags($post_id);
foreach ( $tags as $tag )
{
$the_tags=$the_tags. "#". $tag;
}
With the above the $tag variable actually is an array so you would need to reference it like this $tag->name or $tag["name"];
wp_term, converted, ve, variable, array, tue, mar, php, catchable, fatal, vhost, httpdocs, wp, content, plugins, instagram, igp, tags, get_tags, post_id, foreach, the_tags, quot, reference,