JIRA REST API Data to PHP via JQL

i am getting JIRA data to PHP through JQL successfully. but i have an error while i am going to echo one values. i created custom field drop down in JIRA and when i echo that value in PHP following error occurred.

Catchable fatal error: Object of class stdClass could not be converted to string in tables.php on line 486

Any help??