The Theme breaks down when i try to put in a code to exclude subcategory from the category page.

PLease help

The Theme breaks down when i try to put in a code to exclude subcategory from the category page. PLease help