• yedukondalu

    (@yedukondalu)


    Hi,
    Getting the below error message after I installed the hestia theme.

    Parse error: syntax error, unexpected T_FUNCTION in D:\Hosting\3915819\html\wp-content\themes\hestia\functions.php on line 42

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • anurag.deshmukh

    (@anuragdeshmukh)

    Can you share the code that has been written on line 42 ?

    anurag.deshmukh

    (@anuragdeshmukh)

    This might be the issue with server. I got 1 link. Hope this helps.

    https://www.ads-software.com/support/topic/parse-error-on-functions-php-2/

    Thread Starter yedukondalu

    (@yedukondalu)

    line 42 says:

    return null != e ? 0 > e ? this[e + this.length] : this[e] : r.call(this)

    Thread Starter yedukondalu

    (@yedukondalu)

    that error coming from this code:

    add_filter(
    ‘themeisle_sdk_products’, function ( $products ) {
    $products[] = get_template_directory() . ‘/style.css’;

    return $products;
    }
    );

    Thread Starter yedukondalu

    (@yedukondalu)

    I have removed and installed the same theme as manually again the error are showing same like below:

    Parse error: syntax error, unexpected T_FUNCTION in D:\Hosting\3915819\html\wp-content\themes\hestia.1.1.66\hestia\functions.php on line 42

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