• Hi everyone!!

    I tried customizing a theme. And when I uploaded it and tried to activate, the error message reads –

      Parse error: syntax error, unexpected T_FUNCTION, expecting ‘{‘ in /home/public_html/wp-content/themes/NewsTrend/functions.php on line 98

    Now, I realize I have to edit that and I did too. But when I try to upload it again, the same error shows up. Even my admin Dashboard is not opening now! ?? I try to go “Back” and upload another theme, but the same error message shows.

    I’m really worried what to do? Should I uninstall the WordPress software for my website & reinstall again?

    Please help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can switch back to default theme using ftp browse to wp-content/themes folder in there you will find your theme folder rename or delete the folder and then try to open your wordpress.
    This will switch you back to default theme.

    Similar problem except for the line number. That is 45 in my case.

    This is, what I get when installing.
    The file is wp-config.php.
    I edited the wp-config-sample.php as directed.
    Inserted database details and copied the keys.
    I used the editor of Windows.
    But cannot identify the line 45 mentioned. Editor does not give line numbers.
    How can I go on from here?
    Thanks for any suggestion!

    MacBook Pro, Mac OS X, WordPress 3.4.1,

    <strong>Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /homepages/15/d246579546/htdocs/georgeshomepage/wp-config.php on line 45</strong>

    Thread Starter foodomania100

    (@foodomania100)

    I resolved the issue. I had a self hosted blog. so I went to the control panel. Deleted the wordpress installed and re-installeg again

    @foodomania100
    Thanks for the speedy reply. Will follow your advise. Have a nice day!
    rabsal

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse Error; Syntax Error’ is closed to new replies.