getting white screen | WordPress.org

Hi @ketanco,

The errors you’re encountering indicate that there is an issue with the class-wp-duotone.php file, Here’s what you can do to troubleshoot and fix the issue:

1. Check your WordPress installation to see if the file is present in the wp-includes directory. If it’s missing, you might need to reinstall WordPress or restore the file from a backup.

2. Ensure that your WordPress installation is up-to-date. Update to the latest version if necessary.

3. If you can access the WordPress admin dashboard, deactivate all plugins and switch to a default theme to see if the issue persists. Reactivate them one by one to identify the problematic plugin or theme.

All the best.

Hi @ketanco

require(/home/xxxxx/public_html/xxxxx.com/wp-includes/class-wp-duotone.php): failed to open stream: No such file or directory

A core WordPress file is missing. It seems your WordPress installation is corrupted or incomplete.

Follow @nheeko instructions and if you need to reinstall WordPress, here are the main steps:

  1. First, do a backup of your website through your hosting provider dashboard or sFTP.
  2. Then, go to the WordPress releases page and download an archive of WordPress matching your current WordPress version.
  3. Replace every files in the root directory of your website (/home/xxxxx/public_html/xxxxx.com/), except the wp-config.php file and the /wp-content/ directory, with files from the archive. You can use the file manager of your hosting provider or sFTP.

If you need more details, you can follow step #7 and #8 of the following guide: https://projectdmc.org/documentation/article/upgrading-wordpress-extended-instructions/

  • This reply was modified 4 hours, 52 minutes ago by luk4.
  • This reply was modified 4 hours, 51 minutes ago by luk4.

ok yes it worked, especially the link you provided in the end is good

so, it means, whenever i update my wordpress, instead of just praying to God that everything goes ok, this is what i should do if something goes wrong right? i mean if somethings are missing due to installation of new version, i simply upload the wp-admin, wp-includes folders as a whole, and then the files under main folder, except wpconfig and thats it right? this applies to all installations that go wrong right?

Moderator
James Huff

(@macmanx)

Volunteer Moderator

That’s what I’d do. 🙂

For future reference, if something goes wrong after an update, which hopefully it won’t, I recommend that you try downloading WordPress again, 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.

If you’d like to manually make a backup of your site first, please follow the steps at https://projectdmc.org/documentation/article/wordpress-backups/

Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

And, if that doesn’t work, I recommend that you try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

Finally, 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 (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

ok thanks a lot everyone…

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer