Title: getting headers already sent error message
Last modified: August 31, 2016

---

# getting headers already sent error message

 *  Resolved [Richard Munter](https://wordpress.org/support/users/runningman/)
 * (@runningman)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/getting-headers-already-sent-error-message/)
 * Hi,
 * Thanks for putting out this plugin.
 * I’m getting this error message when I activate the plugin or when I visit wp-
   admin with a subscriber user.
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/public_html/wp-content/themes/fitness_child/functions.php:15) in /home/
   public_html/wp-includes/pluggable.php on line 1228
 * Any suggestions, please?
 * Thanks,
 * Richard
 * [https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/](https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Drew Jaynes](https://wordpress.org/support/users/drewapicture/)
 * (@drewapicture)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/getting-headers-already-sent-error-message/#post-7163785)
 * 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](https://wordpress.org/support/users/runningman/)
 * (@runningman)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/getting-headers-already-sent-error-message/#post-7163799)
 * 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.

 * ![](https://ps.w.org/remove-dashboard-access-for-non-admins/assets/icon-256x256.
   png?rev=3544334)
 * [Remove Dashboard Access](https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/)
 * [Active Topics](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/remove-dashboard-access-for-non-admins/reviews/)

## Tags

 * [headers already sent](https://wordpress.org/support/topic-tag/headers-already-sent/)

 * 2 replies
 * 2 participants
 * Last reply from: [Richard Munter](https://wordpress.org/support/users/runningman/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/getting-headers-already-sent-error-message/#post-7163799)
 * Status: resolved