error in functions.php (3 posts)

  1. konkov
    Posted 3 years ago #

    Howdy wordpress community!
    Please help me to fix this error:

    You can see it on the main page of campusdnepr.org

    here it is:

    Parse error: syntax error, unexpected T_STRING in /home/campus/campusdnepr.org/www/wp-includes/functions.php(1980) on line 1

    Here are the first four lines in my functions.php

    include_once (TEMPLATEPATH . "/functions/htmLawed.php");
    include_once (TEMPLATEPATH . "/functions/shortcodes.php");

    What's wrong with it?

  2. govpatel
    Posted 3 years ago #

    may be is the double quotes need to be '

    To get the site back you will need to replace functions.php file by editing with a editor or repalce with the original theme functions.php file

  3. konkov
    Posted 3 years ago #

    Thank you!
    On my host server I changed the PHP settings and clicked "do not show errors"

    It helped! Error disappeared from the main page.
    But did it solve the problem?
    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic