[resolved] Problem with functions.php file (2 posts)

  1. hanflow
    Posted 4 years ago #

    I can't access my site, http://www.rokhiphop.com

    If you try to visit my site, a page that says

    "Parse error: syntax error, unexpected T_STRING in /home/hosting_users/seonghoon52/www/wp-content/themes/hiphop/functions.php on line 524"


    Since i can't access my dashboard either, i logged into my ftp account and downloaded my functions.php file.

    Here's a link to view my functions.php file: http://pastebin.com/63vwFSjg

    Can someone tell me what's wrong so I could fix this??

  2. Michael
    Forum Moderator
    Posted 4 years ago #

    remove this:

    function excerpt($num)
    $limit = $num+1;
    $excerpt = explode(???? get_the_excerpt(), $limit);
    $excerpt = implode(????$excerpt).?앪€╈€?
    echo $excerpt;

    this might have been corrupted from 'copy/paste' (there should be no ???? and .?앪€╈€? );
    then find the correct code for this function, and put it back into functions.php

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.