• I was trying to get rid of the right header in my theme and added one line to a code and eveyrthing crashed, now i can neither see the blog or even log to the account, the only thing i get is

    Parse error: syntax error, unexpected ‘}’ in /home/jj7b041845dd/ftp/instalator/wordpress/wp-content/themes/awaken-pro/functions.php on line 496

    The blog is powietrzeni.pl

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello wuzwar,

    When getting an “unexpected }” error, you’ve mostly closed a code block too early.

    Last statement in a code block

    It can happen for any unterminated expression.

    And if the last line in a function/code block lacks a trailing ; semicolon:

    function whatever() {
        doStuff()
    }            ⇧

    Correct One:

    function whatever() {
        doStuff();
    }            ⇧

    Go to this location /home/jj7b041845dd/ftp/instalator/wordpress/wp-content/themes/awaken-pro/functions.php on line 496 and modify your code.

    Hope this will solve your problem.

    Thanks

    Thread Starter wuzwar

    (@wuzwar)

    Solved, Thank you for your help

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

The topic ‘cant log in’ is closed to new replies.