• Resolved haagsekak

    (@haagsekak)


    I followed the current codex instructions to create a child theme using twenty eleven and when I activate the child theme I get the following 2 warning messages. I created the style.css and functions.php using the example code. Only have akismet and jetpack, both deactivated at the moment. I only see the error in the dashboard, the site seems to load fine. Hope someone can help. Thanks!

    Here is a link to the site https://realestatebrokersla.com/events/news-events/

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/37/9552237/html/realestatebrokersla/events/news-events/wp-content/themes/twentyeleven-child/functions.php:3) in /home/content/37/9552237/html/realestatebrokersla/events/news-events/wp-includes/option.php on line 750

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/37/9552237/html/realestatebrokersla/events/news-events/wp-content/themes/twentyeleven-child/functions.php:3) in /home/content/37/9552237/html/realestatebrokersla/events/news-events/wp-includes/option.php on line 751

Viewing 1 replies (of 1 total)
  • Thread Starter haagsekak

    (@haagsekak)

    Found my mistake in the functions.php file in the child directory.

    I had some comments on line 1 before <?php

    Moved comments to behind <?php and error went away.

    FYI to anyone else seeing this warning message.

Viewing 1 replies (of 1 total)
  • The topic ‘Created twenty eleven child theme and get Warning: Cannot modify header info’ is closed to new replies.