Support » Fixing WordPress » HELP: Parse error: syntax error, unexpected $end, expecting ')' in /home

  • I was editing the theme to try and remove some things. Turned out to be a terrible idea. I was in “functions.php” and removed )); //GsL98DGtpo0W from the end of it to see what it would effect. Now my entire site won’t respond and displays “Parse error: syntax error, unexpected $end, expecting ‘)’ in /home/toosfus9/public_html/wp/wp-content/themes/rainbow-trance-10/functions.php on line 17”

    The functions.php currently looks like this…

    <?php
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘name’ => ‘Sidebar Left’,
    ‘before_widget’ => ”,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3>’,
    ‘after_title’ => ‘</h3>’,
    ));
    register_sidebar(array(
    ‘name’ => ‘Sidebar Right’,
    ‘before_widget’ => ”,
    ‘after_widget’ => ”,
    ‘before_title’ => ‘<h3>’,
    ‘after_title’ => ‘</h3>’,

    ——————————————————
    Where do I return the )); //GsL98DGtpo0W so my site works again??? Please help! I do not know much about code.

  • The topic ‘HELP: Parse error: syntax error, unexpected $end, expecting ')' in /home’ is closed to new replies.