Skip to:
Content
Pages
Categories
Search
Top
Bottom

Empty functions.php breaks breaks STC & BC oAuth

  • @darrenmooney

    Participant

    I’m creating a child theme for buddypress.

    I’m using WP 3.2.1 – BP 1.5 – BBP 2.0. I was using BC oAuth, and now and using Simple Twitter Connect plugins.

    With both of these plugins, simply having an empty functions.php file breaks them, and I don’t understand why. There is nothing in the functions.php file apart from opening and closing tags.

    I’m getting the error (similar with both):

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/pmashers/public_html/wp-content/themes/DRMB/functions.php:12) in /home/pmashers/public_html/wp-content/plugins/simple-twitter-connect/stc.php on line 33

    I was about to add a couple of simple functions before I noticed this. As soon as I remove the opening and closing tags in functions.php, the problem goes away. I know there shouldn’t be any conflicting functions in a child themes functions.php, but this is empty.

    What am I doing wrong?

    Thanks for your help.

  • The topic ‘Empty functions.php breaks breaks STC & BC oAuth’ is closed to new replies.
Skip to toolbar