Breadcrumbs on Product Page Always Show Wrong Product [closed]

The problem was a custom plugin I made was globally looping through some proucts with a WP_Query. This meant that the breadcrumbs were being set to the last product in that loop, not the product on that page… the solution was to reset the query in my plugin using wp_reset_query();. Always reset your queries!