chezsheles (@chezsheles)

Forum Replies Created

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

  • chezsheles
    Participant

    @chezsheles

    oops – I mean the code in my child theme functions. Just so it’s clear. I’m using a child theme and have added the code to the child theme functions.


    chezsheles
    Participant

    @chezsheles

    Hi – The solution offered by robkk creates a white screen (o’ death) on the front end and then this error in the debug_log:

    [18-Mar-2019 17:13:21 UTC] PHP Parse error: syntax error, unexpected '<', expecting end of file in .../wp-content/themes/MyStupidTheme/functions.php on line 63

    Line 63 in my child functions file is the first line of code:

    <?php if ( !bbp_is_single_forum() ) : ?>

    I used php code checker to see whether or not the code was still valid, and it checked out ok.

    I even cut and pasted the code from this page to Text Wrangler, to strip it of any errant styling or whatnot before I pasted it into my child theme. Still get the same error and white screen.

    What else might I try?

    Thanks much for any help!

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