Installer wrote:You're apparently not showing us the actual query string. If you look at the error message you'll notice there is a single quote missing.
Okay, here is the query string. I couldn't find any missing quotes missing, though.
$get_last_post_sticky = "SELECT post_owner, post_create_time FROM forum_posts WHERE topic_id = '$topic_id' ORDER BY post_id DESC LIMIT 1";
$get_last_post_res_sticky = mysql_query($get_last_post) or die(mysql_error());