Title: Parse error: syntax error, unexpected T_STRING
Last modified: August 22, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  [thelaunderer](https://wordpress.org/support/users/thelaunderer/)
 * (@thelaunderer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-64/)
 * Getting the following message when I try to login to my admin panel
 * Parse error: syntax error, unexpected T_STRING in /home/vulcanbi/public_html/
   wp-admin/includes/misc.php on line 728
 * site address is [http://www.vulcanbiomass.co.uk](http://www.vulcanbiomass.co.uk)
 * Code found in misc.php
 * 710 add_filter( ‘heartbeat_received’, ‘wp_check_locked_posts’, 10, 3 );
    711 
   712 /** 713 * Check lock status on the New/Edit Post screen and refresh the lock
   714 * 715 * [@since](https://wordpress.org/support/users/since/) 3.6.0 716 */
   717 function wp_refresh_post_lock( $response, $data, $screen_id ) { 718 if ( 
   array_key_exists( ‘wp-refresh-post-lock’, $data ) ) { 719 $received = $data[‘
   wp-refresh-post-lock’]; 720 $send = array(); 721 722 if ( ! $post_id = absint(
   $received[‘post_id’] ) ) 723 return $response; 724 725 if ( ! current_user_can(‘
   edit_post’, $post_id) ) 726 return $response; 727 728 if ( ( $user_id =o reset.
   729 */
 * Grateful for any advice.

Viewing 1 replies (of 1 total)

 *  [Konstantin Kovshenin](https://wordpress.org/support/users/kovshenin/)
 * (@kovshenin)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-64/#post-5742636)
 * misc.php is a core WordPress file, you should never edit it. Download a fresh
   copy of WordPress from wordpress.org and replace your misc.php file with the 
   one in the original distribution. If anything similar happens to any other core
   files, it’s best to just reinstall WordPress.

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Konstantin Kovshenin](https://wordpress.org/support/users/kovshenin/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-64/#post-5742636)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
