• Hello all.
    I have a problem when updating The website (both plugin or pages).

    No email received related on how to fix it.

    How can I resolve? Thanks

    • This topic was modified 3 years, 9 months ago by underlife82.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Try Manually upgrading WordPress. When all else fails, download a fresh copy of the latest.zip file for this release (top right on this page) to your computer, and use that to copy up. You may need to delete the wp-admin and wp-includes folders on your server (NOTE: do not delete the wp-content directory or your wp-config.php file) Read the Manual Update directions first.

    Moderator threadi

    (@threadi)

    I understand the question to mean that you cannot update content under pages and posts. Instead, you get an error message saying that the admin has received an email about this. Is that the case?

    If so, you need to check the error message in the error log of your hosting. Your hosting support can help you with this. The reason for this can be seen in the error message. Often it is a plugin that is at fault.

    If I am wrong, feedback would still be interesting.

    Thread Starter underlife82

    (@underlife82)

    Hi all and thanks for the reply.
    I’ve downloaded the last version on WP but the problem still remains.

    Not able to update a plugin or pages.

    Really don’t know how to resolve

    Thread Starter underlife82

    (@underlife82)

    In my error log I’m able to read this

    [09-Sep-2022 13:41:53 UTC] PHP Warning:  require(.../httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-controller.php): failed to open stream: No such file or directory in /var/www/vhosts/...../httpdocs/wp-settings.php on line 255
    [09-Sep-2022 13:41:53 UTC] PHP Fatal error:  require(): Failed opening required '/var/www/vhosts/....../httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-controller.php' (include_path='.:/opt/plesk/php/7.4/share/pear') in /var/www/vhosts/......./httpdocs/wp-settings.php
    Moderator threadi

    (@threadi)

    The messages say that a file of the WordPress installation is missing. Can you check if it is really not there? It should be under httpdocs/wp-includes/rest-api/endpoints/class-wp-rest-controller.php. If it really isn’t there, then your wordpress installation is incomplete. You should reinstall it then.

    Thread Starter underlife82

    (@underlife82)

    No it’s present.
    I’m updrading plugin by plugin to see what is the one creating the issue.

    I’ll keep you update.

    Moderator threadi

    (@threadi)

    Then maybe the path is wrong. I wonder why there is a “../” in front of the path. With the wordpress debug log you should see more about the call: https://ww.wp.xz.cn/support/article/debugging-in-wordpress/

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

The topic ‘Fatal error when updating’ is closed to new replies.