Title: Parse error: syntax err, unxpctd &#039;
Last modified: August 22, 2016

---

# Parse error: syntax err, unxpctd '

 *  [ironcraft](https://wordpress.org/support/users/ironcraft/)
 * (@ironcraft)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/)
 * Hello,
 * I am locked out of my website and i get this error message on a blank white screen:
   
   Parse error: syntax error, unexpected ‘<‘ in xxxxxxxxxxxxxxx/functions.php on
   line 102 I have tried to upload the functions.php file through cpanel, but that
   file seems to be incorrect as well.
 * Please help!
 * This is the code below, line 102 seems to be incorrect, i’m not sure if its missing
   a php tag, i’m afraid I don’t know much about it.
 * if ( ! function_exists( ‘material_post_meta’ ) ) {
    function material_post_meta(){
   echo ‘<ul class=”list-inline entry-meta”>’;
 *  if ( get_post_type() === ‘post’ ) {
    // If the post is sticky, mark it. if (
   is_sticky() ) { echo ‘<li class=”meta-featured-post”><i class=”fa fa-thumb-tack”
   ></i>’; }
 *  // Get the date.
    line 102 printf( ‘<li class=”meta-date”>’.__(‘ Posted on ‘,’
   material’).’[%2$s](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/%1$s?output_format=md)‘,
   esc_url( get_permalink()), get_the_date() ) ;
 *  // Get the post author.
    printf( ‘<li class=”meta-author”>’.__(‘ by ‘,’material’).’
   [%2$s](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/%1$s?output_format=md)‘,
   esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ), get_the_author());
 *  }
    } }

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805072)
 * What is the entire error message, and what theme is the functions file from?
 *  Thread Starter [ironcraft](https://wordpress.org/support/users/ironcraft/)
 * (@ironcraft)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805073)
 * Parse error: syntax error, unexpected ‘<‘ in /home3/matbe195/public_html/wp-content/
   themes/material/functions.php on line 102
 * I’m using the materials theme
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805075)
 * Here’s a direct link to the functions file so you can see how it should look 
   if you’re using the Material theme version 1.1.3: [https://themes.svn.wordpress.org/material/1.1.3/functions.php](https://themes.svn.wordpress.org/material/1.1.3/functions.php)
 * Compare what’s between lines 101 and 114.
 * You can download a fresh copy of the theme files if you need to.
 * [https://wordpress.org/themes/material](https://wordpress.org/themes/material)
 *  Thread Starter [ironcraft](https://wordpress.org/support/users/ironcraft/)
 * (@ironcraft)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805086)
 * my saviour! thank you so much, good to go!
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805090)
 * You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Parse error: syntax err, unxpctd '’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-140/#post-5805090)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
