• I’m a complete newb and in my newbness i said i will copy my wordpress installation to another section on my website so as to fiddle with it. I moved it and moved it back and now im getting this error

    Parse error: syntax error, unexpected $end in /usr/local/pem/vhosts/187777/webspace/httpdocs/wp/wp-includes/functions.php on line 3336

    any idea as to what i should do?

    i apologise if this is in the wrong section

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi dublintours,
    This error usually surfaces when a file has not finished uploading via FTP or is in some way incomplete.

    A possible solution could be to re-upload the functions.php file from a fresh copy of the wp-includes folder (ie: download WordPress, unzip and upload wp-includes/functions.php from there) and reload the page.

    Please advise if this resolves the issue you are experiencing.

    All the best,
    Matty.

    Thread Starter dublintours

    (@dublintours)

    It has changed it but not resolved the issue,were there was an error message now the site appears but only the green background nothing else.

    https://www.dublinwalkingtour.com/wp/ is the site,it was fully done up with text,images,layout etc

    Thank you for your reply ??

    Hi dublintours,

    On viewing the link provided, I noticed a PHP error that reads as follows:

    Fatal error: Call to undefined function: wp_specialchars_decode() in /usr/local/pem/vhosts/187777/webspace/httpdocs/wp/wp-includes/formatting.php on line 268

    In this case, I would recommend re-uploading the wp-includes folder from a fresh version of WordPress (that has the same version number of the one used on your installation) and see if this remedies the issue.

    The function in question is defined in wp-includes/formatting.php around line 355. If you’d prefer not to re-upload the entire folder (recommended as there may be other files missing), I’d recommend re-uploading a fresh copy of formatting.php into wp-includes.

    All the best,
    Matty.

    Thread Starter dublintours

    (@dublintours)

    Hello Matty,

    Thank you for your reply i appreciate you trying to help me (truly i do!) i followed your instructions and now i’m getting this problem.

    Warning: main(/usr/local/pem/vhosts/187777/webspace/httpdocs/wp/wp-includes/functions.php): failed to open stream: No such file or directory in /usr/local/pem/vhosts/187777/webspace/httpdocs/wp/wp-settings.php on line 283

    Do you think it’s fixable or have i screwed it up so bad that starting over is the only option?

    What version of WordPress are you using?

    What did you change when you were fiddling with it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error in theme’ is closed to new replies.