Title: Errors
Last modified: July 18, 2020

---

# Errors

 *  [horatium](https://wordpress.org/support/users/horatium/)
 * (@horatium)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/)
 * Hello, If i post this where it doesn’t belong I am sorry, but I rely need help.
   So yesterday I added a few products on my website and after a bit I got into 
   a problem. the site didn’t seem to work. I can enter the main page but on wp-
   admin or anything else it is blank and I get the error below:
    Parse error: syntax
   error, unexpected ‘endif’ (T_ENDIF), expecting end of file in /var/www/vhosts/
   spera.ro/public_html/wp-includes/functions.php on line 3541
 * Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities()
   in /var/www/vhosts/spera.ro/public_html/wp-includes/formatting.php:4333 Stack
   trace: #0 /var/www/vhosts/spera.ro/public_html/wp-includes/class-wp-fatal-error-
   handler.php(190): esc_url(‘[https://wordpre…&#8217](https://wordpre…&#8217);)#
   1 /var/www/vhosts/spera.ro/public_html/wp-includes/class-wp-fatal-error-handler.
   php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)#
   2 /var/www/vhosts/spera.ro/public_html/wp-includes/class-wp-fatal-error-handler.
   php(52): WP_Fatal_Error_Handler->display_error_template(Array, false) #3 [internal
   function]: WP_Fatal_Error_Handler->handle() #4 {main} thrown in /var/www/vhosts/
   spera.ro/public_html/wp-includes/formatting.php on line 4333
 * I tried to change htaacess, rename the plugins but it dosen’t seem to do the 
   trick, I would like to do this without a back-up since it is a little old and
   I would lose some data that i don’t want ( I know I am stupid for not backing
   up every week) Can anyone help me ? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-236%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [webkiwinz](https://wordpress.org/support/users/webkiwinz/)
 * (@webkiwinz)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/#post-13138493)
 * did you run an update just before this happened? Sometimes if a WordPress update
   is interrupted you get this type of error.
 * wp_kses_normalize_entities() is a part of the main WP code base so should be 
   present.
 * Are you able to upload a zipped version of WordPress onto your server then upzip
   it and install it at the file level?
    The file missing is wp-includes/kses.php
 * Also your functions.php looks broken. Do you have a backup? Restore your functions.
   php
    wp-includes/functions.php
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/#post-13138627)
 * [@horatium](https://wordpress.org/support/users/horatium/)
 * It would seem that somehow your copy of the file at `wp-includes/functions.php`
   is corrupt. You need to reinstall WordPress.
 * Download a fresh copy of WordPress from here:
    [https://wordpress.org/download/](https://wordpress.org/download/)
 * Then access your site server via FTP and delete the `wp-includes` folder, then
   upload the same folder from the downloaded zip.
 *  Thread Starter [horatium](https://wordpress.org/support/users/horatium/)
 * (@horatium)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/#post-13138654)
 * [@mattyrob](https://wordpress.org/support/users/mattyrob/) Won’t that remove 
   everything i have on the website ? I would realy like to keep the content and
   the products. I don’t have a recent back-up sadly
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/#post-13138716)
 * [@horatium](https://wordpress.org/support/users/horatium/)
 * No, the content on your site is stored in a database, not files.
 * If you cannot access admin at the moment then you can’t create a backup via a
   plugin, but your hosting provider may have or be able to create a back up of 
   the database first, or perhaps you can if you can access PHPMyAdmin on your server.

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

The topic ‘Errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/errors-236/#post-13138716)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
