• HP Fatal error: require(): Failed opening required ‘/home/###/public_html/wp-includes/class-wp-hook.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/###/public_html/wp-includes/plugin.php on line 25

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

    (@t-p)

    What did you do at the site before this error happened?

    Thread Starter joyshar

    (@joyshar)

    I think, i have replaced class-wp-hook.php

    Moderator t-p

    (@t-p)

    Where?

    Thread Starter joyshar

    (@joyshar)

    public_html/wp-includes/

    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://www.ads-software.com/support/article/wordpress-backups/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Fatal error:’ is closed to new replies.