Title: Parse Error ; Syntax Error
Last modified: August 22, 2016

---

# Parse Error ; Syntax Error

 *  [Jasmijnnoot](https://wordpress.org/support/users/jasmijnnoot/)
 * (@jasmijnnoot)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-97/)
 * Can’t visit my website any more: [http://www.nhexperience.nl](http://www.nhexperience.nl)
 * this error is occuring every time:
 * Parse error: syntax error, unexpected end of file in /home/yypjfjmp/public_html/
   nhexperience.nl/wp-includes/link-template.php on line 142
 * These are the lines 102 – 142
 * /**
    * Retrieve full permalink for current post or post ID. * * [@since](https://wordpress.org/support/users/since/)
   1.0.0 * * [@param](https://wordpress.org/support/users/param/) int|WP_Post $id
   Optional. Post ID or post object. Default current post. * [@param](https://wordpress.org/support/users/param/)
   bool $leavename Optional. Whether to keep post name or page name. Default false.*
   [@return](https://wordpress.org/support/users/return/) string|bool The permalink
   URL or false if post does not exist. */ function get_permalink( $id = 0, $leavename
   = false ) { $rewritecode = array( ‘%year%’, ‘%monthnum%’, ‘%day%’, ‘%hour%’, ‘%
   minute%’, ‘%second%’, $leavename? ” : ‘%postname%’, ‘%post_id%’, ‘%category%’,‘%
   author%’, $leavename? ” : ‘%pagename%’, );
 *  if ( is_object($id) && isset($id->filter) && ‘sample’ == $id->filter ) {
    $post
   = $id; $sample = true; } else { $post = get_post($id); $sample = false; }
 *  if ( empty($post->ID) )
    return false;
 *  if ( $post->post_type == ‘page’ )
    return get_page_link($post, $leavename, $
   sample); elseif ( $post->post_type == ‘attachment’ ) return get_attachment_link(
   $post, $leavename ); elseif ( in_array($post->post_type, get_post_types( array(‘
   _builtin’ => false) ) ) )
 * I heve no experience with coding so far…. what should I do?

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

 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-97/#post-5507473)
 * try a security scan:
    [http://www.nhexperience.nl](http://www.nhexperience.nl)
 *  Thread Starter [Jasmijnnoot](https://wordpress.org/support/users/jasmijnnoot/)
 * (@jasmijnnoot)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-97/#post-5507619)
 * How? can’t get in my wp-admin anymore.
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-97/#post-5507628)
 * Run your URL through this service. [http://sitecheck.sucuri.net/](http://sitecheck.sucuri.net/)
 * Some reference material: [FAQ My site was hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   
   There are links to additional resources at the bottom of that article.
 * Some other available resources;
    [http://www.unmaskparasites.com/](http://www.unmaskparasites.com/)
   [http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html](http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html)
   [ Hardening WordPress](http://codex.wordpress.org/Hardening_WordPress)
 * Some additional discussions about what may be going on with your site: [site:wordpress.org/support 404javascript.js hacked ](https://www.google.com/#q=site:wordpress.org%2Fsupport+404javascript.js+hacked+)
   
   The link goes to Google, but the returned results are all from discussions here
   in the forums.

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

The topic ‘Parse Error ; Syntax Error’ is closed to new replies.

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
