• According to WordPress, I’ve got a parse error in the following line of code in my functions.php file:

    ‘before_title’ => ‘<div class=”title”>’,

    I don’t see anything there, and I’ve tried a number of fixes culled from the forums here, but nothing’s working.

    Is the only other solution to re-upload the original functions.php file and de-activate the one that’s calling the parse error?

    I ask because I can’t execute this fix as this is a site I did not build and I don’t have the FTP information necessary to make that fix at this time.

    Here’s the error it’s calling:

    Parse error: syntax error, unexpected T_STRING in /hermes/bosnaweb09a/b208/ipw.lawtutor/public_html/wordpress291/wp-content/themes/lawtutors/functions.php on line 9

    It calls that everywhere – whether I’m trying to access the site or just another area of the dashboard.

    Any help would be appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    First, it’s best to isolate the exact cause. Think of the error message as more of a symptom until proven.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)

The topic ‘Parse Error in functions.php file’ is closed to new replies.