Support » Fixing WordPress » wp-includes erros

  • Resolved angie_s

    (@angie_s)


    Hello!
    Recently we got the next 2 errors from wordpress and we can’t find a way to solve the problem.

    Could you help us?

    Parse error: syntax error, unexpected ”🧚🏽&#x200′ (T_ENCAPSED_AND_WHITESPACE), expecting ‘)’ in /home/website/public_html/wp-includes/formatting.php on line 5913

    Fatal error: Uncaught Error: Call to undefined function esc_url() in /home/website/public_html/wp-includes/class-wp-fatal-error-handler.php:190 Stack trace: #0 /home/website/public_html/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false) #1 /home/website/public_html/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false) #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/website/public_html/wp-includes/class-wp-fatal-error-handler.php on line 190

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Try MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the wp-content directory or your wp-config.php file). Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups! See https://wordpress.org/support/article/wordpress-backups/

    Thread Starter angie_s

    (@angie_s)

    Thank you!
    We re-uploaded the problematic file and the problem is solved.

    Moderator t-p

    (@t-p)

    Glad its sorted 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-includes erros’ is closed to new replies.