Support » Localhost Installs » /wp-includes/functions.php on line 7161

  • bydamned

    (@bydamned)


    Hello, I am getting this error I wonder how can I solve it

    Parse error:: syntax error, unexpected end of file in /home/gencfiki/public_html/wp-includes/functions.php on line 7161

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

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there, somehow this sounds similar to the issue I replied here just in another file.

    So, what I would try is this:
    1. If you can access the WP Admin, go to WP Admin > Dashboard > Updates and try to “Reinstall WordPress”. This would reinstall WordPress without changing Database or Content, and possibly resolve the issue
    2. If that doesn’t work for some reason then get a new copy of WordPress and replace the precise file where the error happens on your server, with the freshly downloaded file.

    So that would mean to copy the file wp-includes/class-wp-fatal-error-handler.php from your new fresh downloaded WordPress and then upload that file to your existing install at the exact same path, replacing the existing file wp-includes/class-wp-fatal-error-handler.php.

    This would ensure the file is exactly as it is when WordPress is installed and most likely remove the error, since that error doesn’t happen in fresh WP Installs, and likely is due to either intentional or unintentional editing of the core code.

    Let me know if that helps!

    Thread Starter bydamned

    (@bydamned)

    hello … I reinstalled the problem is fixed thank you

    Great!

    If your question has been answered, we would love if you would mark this topic as resolved in the sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.