The error message is crystal clear, isn't it? The current element in the array is an object, not a string. You cannot "echo" an object, but only a string. So php tries to convert the object into a string but fails, since no such conversion is defined for an object of the generic standard class.
You need to use a function to output an object instead of the echo
command, or you need to to convert that object into a string which you can output:
<?php
//...
var_export(current($sub_cats_ids));
Or to echo
the object:
<?php
//...
echo var_export(current($sub_cats_ids), true);
UPDATE:
Your comment below suggests that unlike what you wrote in the question you do not want to output the object itself, but only a specific property of that object. That means you need to access that property in the object, php cannot somehow magically guess that you want to do that.
Without you posting additional information all I can do here is guess what you actually need to do:
<?php
//...
$object = current($sub_cats_ids);
echo $object->IT;