• I know there are lots of people who had the same problem but all the solutions I found, didn’t seem to work. I’m getting the following message:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/vhosts/okashinederland.com/httpdocs/index.php:2) in /var/www/vhosts/okashinederland.com/httpdocs/wp-includes/pluggable.php on line 1207

    This happens ONLY when I click on ‘Inspiration Tuesday’ under ‘blog’. I don’t really get it. I’ve tried to disable and enable the plugins and checked different .php files for extra spaces, etc. But nothing helped.

    Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    – Try reviewing this codex to solve header already sent problem: http://codex.ww.wp.xz.cn/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Thread Starter peggysue4u

    (@peggysue4u)

    I’ve tried that, but there are no blank lines or spaces in the code. In fact, nothing seems off in the code

    Moderator t-p

    (@t-p)

    If that did not help, then try:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Also, any op cache or content network cache, as well as Cloudflare, clear those caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    Thread Starter peggysue4u

    (@peggysue4u)

    I’m now getting the following: 
    Fatal error: Cannot redeclare wp_cache_add() (previously declared in /var/www/vhosts/okashinederland.com/httpdocs/wp-includes/cache.php:24) in /var/www/vhosts/okashinederland.com/httpdocs/wp-includes/formatting.php on line 29

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

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