The error message happens when there is output to the page before the header function to redirect.
the error is reporting the problem at line 372 of the details page.
if you need help locating the cause, send a copy of the page so i can look at the code.