Title: Getting &#8220;Warning: Cannot modify header&#8221; when using Custom Fonts
Last modified: November 7, 2023

---

# Getting “Warning: Cannot modify header” when using Custom Fonts

 *  Resolved [Anthyx](https://wordpress.org/support/users/anthyx/)
 * (@anthyx)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/)
 * Hello,
   I’m creating my new website locally, using Laragon. I have installed some
   plugins, among them Custom Fonts, that should improve my site performances.Problem
   is that when the plugin is active I get this error message:Warning: Cannot modify
   header information – headers already sent by (output started at C:\laragon\www\
   webfoodculture\wp-content\plugins\custom-fonts\classes\class-bsf-custom-fonts-
   render.php:293) in C:\laragon\www\webfoodculture\wp-admin\admin-header.php on
   line 9When I disable the plugin the error message disappears.Could you please
   suggest me how to fix this? Please keep in mind that I’m not good with php.Many
   thanks in advance.A.

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

 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/#post-17197277)
 * Hi [@anthyx](https://wordpress.org/support/users/anthyx/),
 * This is actually a known issue that we are still working on the fix. We are sorry
   for the inconvenience. In the meantime, please use the previous version of this
   plugin.
 * Apart from that, if you have a site that hosted on a live environment, please
   consider reaching out to us thru our [Support Portal](https://wpastra.com/support/open-a-ticket/),
   so we can have a closer look.
 * Kind regards,
    Herman 😊
 *  [ceribbo](https://wordpress.org/support/users/ceribbo/)
 * (@ceribbo)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/#post-17252181)
 * Hello, same errore here, the website is under development so I can’t provide 
   a live website
    -  This reply was modified 2 years, 5 months ago by [ceribbo](https://wordpress.org/support/users/ceribbo/).
 *  Thread Starter [Anthyx](https://wordpress.org/support/users/anthyx/)
 * (@anthyx)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/#post-17253782)
 * Hello,
   the problem suddenly disappeared when my site went live.Hope this helps.
 * A.
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/#post-17276406)
 * Hi [@anthyx](https://wordpress.org/support/users/anthyx/),
 * Thank you for the update. Very pleased to know that.
 * This reminds me of a similar case. One of the users lodged a ticket on our Support
   Portal. With his permission, I cloned his site on my dev site and the issue was
   not there. I shared the access to him, and he also confirmed that the issue is
   not happening on my dev site, despite it was the cloned version of his site.
 * Kind regards,
    Herman 😊

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

The topic ‘Getting “Warning: Cannot modify header” when using Custom Fonts’ is closed
to new replies.

 * ![](https://ps.w.org/custom-fonts/assets/icon-256x256.gif?rev=3001076)
 * [Custom Fonts - Host Your Fonts Locally](https://wordpress.org/plugins/custom-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-fonts/reviews/)

## Tags

 * [Cannot modify header information](https://wordpress.org/support/topic-tag/cannot-modify-header-information/)

 * 4 replies
 * 3 participants
 * Last reply from: [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/getting-warning-cannot-modify-header-when-using-custom-fonts/#post-17276406)
 * Status: resolved