What is causing "Object of class stdClass could not be converted to string"
Please pass $tids array direct to the function.
E.g:

$terms = taxonomy_term_load_multiple($tids);


NOTE: Also before passing $tids to the function, please check it is include only tids.
E.g:

$tids should be like $tids = [10,11,12,13,...];