Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Richard,

    Sounds like an error originating in your theme’s functions.php file. You’ll typically see the “headers already sent” errors if wp_redirect() or wp_safe_redirect() is used after the page headers have already been sent. This essentially means that something is calling for a redirect on a hook that fires too late in the loading order.

    It’s possible that your theme is overriding the core version of wp_redirect() (which is “pluggable” and therefore can be overridden by plugins or themes).

    Thread Starter Richard Munter

    (@runningman)

    Hey Drew,

    Thanks for getting back to me. I will investigate. It’s a stock theme and I have only added 1 function to the child theme so might be hard to find in the stock theme.

    Appreciate the prompt reply, explanation, and of course your work in making the plugin.

    cheers,

    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘getting headers already sent error message’ is closed to new replies.