WordPress.org

Ready to get started?Download WordPress

Forums

error in functions.php (3 posts)

  1. konkov
    Member
    Posted 1 year 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

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

    What's wrong with it?
    Thanks!

  2. govpatel
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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