Title: PHP Warning: Cannot modify header information
Last modified: April 17, 2025

---

# PHP Warning: Cannot modify header information

 *  Resolved [dashary](https://wordpress.org/support/users/dashary/)
 * (@dashary)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-33/)
 * how to fix this sir?
 * PHP Warning: Cannot modify header information – headers already sent by (output
   started at /home/null/public_html/wp-cron.php:30) in /home/……/public_html/wp-
   content/plugins/wp-cloudflare-page-cache/src/Utils/Helpers.php on line 21
 *     ```wp-block-code
       ` wp-coreversion: 6.8site_language: en_USuser_language: en_UStimezone: Asia/Jakartapermalink: /%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: openenvironment_type: productionuser_count: 1dotorg_communication: true wp-paths-sizeswordpress_path: /home/null/public_htmlwordpress_size: 82.87 MB (86894103 bytes)uploads_path: /home/null/public_html/wp-content/uploadsuploads_size: 828.85 KB (848739 bytes)themes_path: /home/null/public_html/wp-content/themesthemes_size: 10.71 MB (11231458 bytes)plugins_path: /home/null/public_html/wp-content/pluginsplugins_size: 12.98 MB (13610702 bytes)fonts_path: /home/null/public_html/wp-content/uploads/fontsfonts_size: directory not founddatabase_size: 2.73 MB (2867200 bytes)total_size: 110.10 MB (115452202 bytes) wp-dropins (3)advanced-cache.php: truemaintenance.php: trueobject-cache.php: true wp-active-themename: LeapPress (A GeneratePress Child from Ezoic) (generatepress-ezoic-leap)version: 3.0.3.1619562464author: Ezoicauthor_website: https://www.ezoic.comparent_theme: GeneratePress (generatepress)theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, post-thumbnails, post-formats, woocommerce, title-tag, html5, customize-selective-refresh-widgets, align-wide, responsive-embeds, editor-color-palette, custom-logo, menus, editor-styles, editor-style, widgetstheme_path: /home/null/public_html/wp-content/themes/generatepress-ezoic-leapauto_update: Disabled wp-parent-themename: GeneratePress (generatepress)version: 3.5.1author: Tom Usborneauthor_website: https://tomusborne.comtheme_path: /home/null/public_html/wp-content/themes/generatepressauto_update: Disabled wp-themes-inactive (1)Twenty Twenty-Five: version: 1.2, author: the WordPress team, Auto-updates disabled wp-mu-plugins (1)Index WP MySQL For Speed Upgrade Filter for mu-plugins.: author: (undefined), version: 1.5.3 wp-plugins-active (7)Advanced Database Cleaner PRO: version: 3.2.11, author: Younes JFR., Auto-updates disabledGP Premium: version: 2.5.2, author: Tom Usborne, Auto-updates disabledIndex WP MySQL For Speed: version: 1.5.3, author: Oliver Jones, Rick James, Auto-updates disabledSlim SEO: version: 4.5.1, author: Slim SEO, Auto-updates disabledSQLite Object Cache: version: 1.5.5, author: Oliver Jones, Auto-updates disabledSuper Page Cache: version: 5.0.11, author: Themeisle, Auto-updates disabledWPCode Pro: version: 2.2.7, author: WPCode, Auto-updates disabled wp-plugins-inactive (1)Headers Security Advanced & HSTS WP: version: 5.0.42, author: 🐙 Andrea Ferro, Auto-updates disabled wp-mediaimage_editor: WP_Image_Editor_Imagickimagick_module_version: 1809imagemagick_version: ImageMagick 7.1.1-43 Q16-HDRI x86_64 22550 https://imagemagick.orgimagick_version: 3.7.0file_uploads: 1post_max_size: 2048Mupload_max_filesize: 2048Mmax_effective_size: 2 GBmax_file_uploads: 20imagick_limits:imagick::RESOURCETYPE_AREA: 183 GBimagick::RESOURCETYPE_DISK: 9.2233720368548E+18imagick::RESOURCETYPE_FILE: 196608imagick::RESOURCETYPE_MAP: 92 GBimagick::RESOURCETYPE_MEMORY: 46 GBimagick::RESOURCETYPE_THREAD: 1imagick::RESOURCETYPE_TIME: 0imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, ASHLAR, AVCI, AVI, AVIF, AVS, B, BAYER, BAYERA, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FFF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MDC, MEF, MIFF, MKV, MNG, MONO, MOS, MOV, MP4, MPC, MPEG, MPG, MPO, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, RWL, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, SRW, STEGANO, STI, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YAML, YCBCR, YCBCRA, YUVgd_version: 2.3.3gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPMghostscript_version: 9.27 wp-serverserver_architecture: Linux 4.18.0-553.30.1.lve.el8.x86_64 x86_64httpd_software: LiteSpeedphp_version: 8.3.16 64bitphp_sapi: litespeedmax_input_variables: 3000time_limit: 180memory_limit: 2048Mmax_input_time: 60upload_max_filesize: 2048Mphp_post_max_size: 2048Mcurl_version: 8.11.0 OpenSSL/1.1.1wsuhosin: falseimagick_availability: truepretty_permalinks: truehtaccess_extra_rules: truestatic_robotstxt_file: falsecurrent: 2025-04-17T13:09:56+00:00utc-time: Thursday, 17-Apr-25 13:09:56 UTCserver-time: 2025-04-17T20:09:54+07:00 wp-databaseextension: mysqliserver_version: 10.6.21-MariaDBclient_version: mysqlnd 8.3.16max_allowed_packet: 268435456max_connections: 1000 wp-constantsWP_HOME: undefinedWP_SITEURL: undefinedWP_CONTENT_DIR: /home/null/public_html/wp-contentWP_PLUGIN_DIR: /home/null/public_html/wp-content/pluginsWP_MEMORY_LIMIT: 512MWP_MAX_MEMORY_LIMIT: 2048MWP_DEBUG: falseWP_DEBUG_DISPLAY: falseWP_DEBUG_LOG: falseSCRIPT_DEBUG: falseWP_CACHE: trueCONCATENATE_SCRIPTS: undefinedCOMPRESS_SCRIPTS: undefinedCOMPRESS_CSS: undefinedWP_ENVIRONMENT_TYPE: undefinedWP_DEVELOPMENT_MODE: undefinedDB_CHARSET: utf8mb4DB_COLLATE: undefined wp-filesystemwordpress: writablewp-content: writableuploads: writableplugins: writablethemes: writablefonts: does not existmu-plugins: writable sqlite-object-cacheconfiguration: use_apcu:on; target_size:32; capture:on; samplerate:100; retainmeasurements:24; previouscapture:0versions: Versions: WordPress: 6.8 SQLite: 3.45.2 php: 8.3.16 Server: LiteSpeed Plugin: 1.5.5 APCu: 5.1.23 igbinary: 3.2.15.settings: apc.coredump_unmap:0; apc.enable_cli:0; apc.enabled:1; apc.entries_hint:4096; apc.gc_ttl:3600; apc.mmap_file_mask:; apc.preload_path:; apc.serializer:php; apc.shm_segments:1; apc.shm_size:32M; apc.slam_defense:0; apc.smart:0; apc.ttl:0; apc.use_request_time:0; sqlite3.defensive:1; sqlite3.extension_dir:; session.save_handler:files; session.auto_start:-missing-; session.lifetime:-missing-; session.gc_maxlifetime:1440apcu_utilization: salt:null; total:438904(166); mine:438904(166)apcu_cache_info: num_slots:4099; ttl:0; num_hits:1040; num_misses:283; num_inserts:175; num_entries:166; expunges:0; start_time:1744895080; mem_size:438904; memory_type:mmap; num_seg:1; seg_size:33554312; avail_mem:33077032sqlite_sizes: page_size:4096; free_pages:665; total_pages:1439; stats_items:1598; stats_size:1734643; mmap_size:0
       ```
   
    -  This topic was modified 1 year, 1 month ago by [dashary](https://wordpress.org/support/users/dashary/).
    -  This topic was modified 1 year, 1 month ago by [dashary](https://wordpress.org/support/users/dashary/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-33/#post-18426449)
 * Hi [@dashary](https://wordpress.org/support/users/dashary/),
 * Thank you for your message.
 * I’ve reported the issue and also responded to your query in the following thread:
 * [https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-34/](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-34/)
 * As this current topic is a duplicate, I will mark it as resolved to keep the 
   conversation consolidated. For any further updates or discussion, please continue
   the communication in the original thread linked above.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Cannot modify header information’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kush](https://wordpress.org/support/users/kushnamdev/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/php-warning-cannot-modify-header-information-33/#post-18426449)
 * Status: resolved