SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?) AND (column.master_id='4') LIMIT 1' at line 2, query was: SELECT `column`.*, `column-writer`.`id` AS `writer_id`, `column-writer`.`name`, `column-writer`.`name_kana`, `column-writer`.`image_url` AS `writer_image_url`, `column-writer`.`comment` FROM `column` LEFT JOIN `column-writer` ON `column-writer`.id = `column-writer_id` WHERE (column.state='active') AND (column.id=?) AND (column.master_id='4') LIMIT 1