Title: Parse error: syntax error
Last modified: April 18, 2023

---

# Parse error: syntax error

 *  [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/)
 * (@mariarestrepog)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-187/)
 * Hello,
 * One of my sites is down with this error:
 * image here: [https://pasteboard.co/HWbmIVN2NskZ.png](https://pasteboard.co/HWbmIVN2NskZ.png)
 * **Parse error**: syntax error, unexpected character 0x00, expecting end of file
   in **/home/insightfos/public_html/wp-includes/rest-api/endpoints/class-wp-rest-
   application-passwords-controller.php** on line **374**
 * Can someone please help me. Thanks!
    -  This topic was modified 2 years, 12 months ago by [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-187%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [2 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-187/#post-16666142)
 * Hi there,
 * What version of WordPress is the site currently on? The most recent version’s
   version of that file does not have that as you can see from this file: [https://github.com/WordPress/WordPress/blob/6.2/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php](https://github.com/WordPress/WordPress/blob/6.2/wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php)
 * I highly recommend you try to re-install core using an SFTP program like FileZilla
   or CyberDuck. You can follow a guide like: [https://help.dreamhost.com/hc/en-us/articles/360028822932-Reinstall-WordPress-core-files-in-an-existing-site#option2](https://help.dreamhost.com/hc/en-us/articles/360028822932-Reinstall-WordPress-core-files-in-an-existing-site#option2)
 * Let us know if you have any other questions
 *  Thread Starter [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/)
 * (@mariarestrepog)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-187/#post-16666291)
 * Hello Jose,
 * Thank you so much for your response.
 * I tried doing the re-install over my cpanel, but now there is another notification
   once I refresh the site:
 * The MIT License (MIT) Copyright (c) 2013 Yani Iliev Permission is hereby granted,
   free of charge, to any person obtaining a copy of this software and associated
   documentation files (the “Software”), to deal in the Software without restriction,
   including without limitation the rights to use, copy, modify, merge, publish,
   distribute, sublicense, and/or sell copies of the Software, and to permit persons
   to whom the Software is furnished to do so, subject to the following conditions:
   The above copyright notice and this permission notice shall be included in all
   copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS 
   IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
   TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
   IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
   OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
   IN THE SOFTWARE.
 * I am not sure what I did wrong, I followed all the steps as the link you shared,
   the only thing different was that I did this over Cpanel. So I went back and 
   restored the files that had before.
 * I also tried to Reinstall the core from WP toolkit but got this notice:
 * **Failed to reinstall WordPress core files**
 * Task in progress
 * Downloading WordPress 6.2 (en_US)… md5 hash verified: 354e81106f8197b2b4bbc33a752caa2f
 * here a screenshot: [https://pasteboard.co/mMLKlqCskh6o.png](https://pasteboard.co/mMLKlqCskh6o.png)
 * WP integrity: [https://pasteboard.co/w2br4Zl5pfl1.png](https://pasteboard.co/w2br4Zl5pfl1.png)
 * Do you have any other recommendation to fix this, please?
 * Thank you in advance!
    -  This reply was modified 2 years, 12 months ago by [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/).
    -  This reply was modified 2 years, 12 months ago by [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/).
    -  This reply was modified 2 years, 12 months ago by [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/).

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

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

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [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/)
 * 2 replies
 * 2 participants
 * Last reply from: [Maria Restrepo](https://wordpress.org/support/users/mariarestrepog/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-187/#post-16666291)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
