Home Forums Front-end Issues Error when creating new post Reply To: Error when creating new post

  • I was having a lot of trouble with ‘headers already sent’ in an elaborately coded theme.

    Solution that goes in functions.php:

    add_action( 'init', 'brandpage_form_head' );
    function brandpage_form_head(){

    This will add it on every page, you could add an if statement to just get it just on your form page.