Moderator
t-p
(@t-p)
Please check the error logs on your server for a more specific error message, which may give a clue to why this is happening on your website/server. If you need help locating them, ask your hosting provider to help you with that.
If you cannot find error logs or if you don’t find any helpful info in the error logs, enable debugging. See: https://wordpress.org/support/article/debugging-in-wordpress/
If error logs and debug does not provide any cluse, try:
– manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
– If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/
and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).
– 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/
What does your file tree for WordPress look like now? (And please do not create another duplicate topic.)
I see
Warning: require(/home/sriharig/domains/sriharigraphics.tech/public_html/wp-includes/version.php): failed to open stream: No such file or directory in /home/sriharig/domains/sriharigraphics.tech/public_html/wp-settings.php on line 33
Fatal error: require(): Failed opening required '/home/sriharig/domains/sriharigraphics.tech/public_html/wp-includes/version.php' (include_path='.:/usr/share/php') in /home/sriharig/domains/sriharigraphics.tech/public_html/wp-settings.php on line 33
I think you need to manually reinstall WordPress.
Download it from wordpress.org.
Unzip locally.
Upload the resulting files and directories to the public_html directory on your server.