I\'ve looked at multiple other questions about this warning (Headers already sent...etc) and this thorough explanation, but I\'m not finding a solution for the circumstances