• Resolved augustkg

    (@augustkg)


    Hey there!

    I’ve used a multisite WordPress solution for quite some time, but have now decided to make a child theme.

    The normal theme has been working without any problems for two or three years, but when I added the child theme, the site won’t show when I dont use the www. in front of the url. When I dont use the www, it gives me this message:

    Warning: Cannot modify header information – headers already sent by (output started at /home/www/ipadlife.dk/wp-content/themes/libris2011-altomapple/functions.php:9) in /home/www/ipadlife.dk/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 708

    It works fine with the www. in front of the url.

    Any ideas?

    Best regards and thank you for helping! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    output started at /home/www/ipadlife.dk/wp-content/themes/libris2011-altomapple/functions.php:9

    That’s where you need to look ?? Line 9 of the functions.php.

    Thread Starter augustkg

    (@augustkg)

    I deleted a space after the “?>” tag in the child themes “functions.php”, and that seemed to do the trick.. Odd :S

    Thank you very much! ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Nah, that’s exactly as expected ?? Google “Headers already sent” and you’ll see the primary cause is “spaces or unreadable characters outside of <?php… ?> tags.”

    Thread Starter augustkg

    (@augustkg)

    Nice to know!

    Maybe you can help me out with an author.php problem, where I can’t get the “get_posts” to get the right authors posts to show up? If so, I’ve made a ticket at https://www.ads-software.com/support/topic/authorphp-loop-problem?replies=1#post-5197136, but no pressure! I see your username all over this support forum, so I won’t force you to answer only me ??

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child theme without www problems’ is closed to new replies.