Zend Framework アプリケーションで、次のエラーが発生します。
Catchable fatal error: Object of class User could not be converted to string in /home/trengine/domains/completeset.us/application/models/User.php on line 121
行 121 は、この mySql クエリの where 句です。
$query = "SELECT first,
last,
email,
gender,
user_type,
country,
state,
province,
city,
DATE_FORMAT(birthday, '%m/%d/%Y') AS birthday,
facebook_id
FROM users
WHERE user_id = '{$this->id}'";