I would check your forumhome and/or forum display templates for that code and test it by commenting out. Maybe try going to your templates and search for Last Post to find all the occurences of the code. You have an extra in there somewhere, I would suspect.
If you did that template mod to move those headings under the category, I'd go back over those directions and make sure you deleted all the code you were supposed to