Guides › WordPress › Site down or error screens

Fatal Error: Uncaught Error Class Not Found in WordPress

A needed code class is missing or not loaded, often after a partial update or removed plugin.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

Uncaught Error: Class not found means PHP tried to use code that is not loaded. In WordPress it usually points to a plugin that is missing, half-updated or incompatible with your PHP version.

1Read the message2Deactivate that plugin3Check dependencies4Reinstall the plugin5Check PHP version6Check autoloader folders7Restore a backupFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Read the message

Illustration for Step 1: Read the message

It names the class and the file path, such as /wp-content/plugins/name/file.php. The folder shows which plugin or theme is responsible.

Step 2: Deactivate that plugin

Illustration for Step 2: Deactivate that plugin

If you cannot log in, rename the plugin's folder via File Manager.

Step 3: Check dependencies

Illustration for Step 3: Check dependencies

Some plugins need another plugin, such as WooCommerce, to be active. Install or activate it.

Step 4: Reinstall the plugin

Illustration for Step 4: Reinstall the plugin

Delete the folder and upload a fresh copy to replace missing files.

Step 5: Check PHP version

Illustration for Step 5: Check PHP version

The code may need a newer or older PHP. Change it in your hosting panel.

Step 6: Check autoloader folders

Illustration for Step 6: Check autoloader folders

Composer-based plugins need their vendor folder complete.

Step 7: Restore a backup

Illustration for Step 7: Restore a backup

If it started after an update, restore or roll back.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.