Initial assessment

Fatal error: Uncaught Error: Class "Memcached" not found

“Uncaught Error: Class "Memcached" not found” in WordPress: causes and what to check

Updated 2026-11-01
# Common log entries
PHP Fatal error:  Uncaught Error: Class "Memcached" not found in /wp-content/object-cache.php
PHP Fatal error:  Uncaught Error: Class "Memcache" not found in /wp-content/object-cache.php

A Memcached object-cache drop-in in wp-content/object-cache.php shows this error when the server lacks the Memcached PHP extension. Some older drop-ins use the Memcache extension instead and show Class "Memcache" not found. Because the drop-in loads before plugins, the whole site stops.

Which of these do you see?

The drop-in moved with the site, while the new server has neither the Memcached server nor the PHP extension.

The drop-in expects one extension, and the new PHP version has the other or neither.

Common causes

Missing Memcached extension: The server’s PHP has no Memcached or Memcache module.
Leftover drop-in: object-cache.php remains after caching was turned off.
Wrong extension for the drop-in: The drop-in was written for Memcache, and the server has only Memcached, or the reverse.

References

  1. Memcached (PHP.net)
  2. WP_Object_Cache (WordPress Developer Resources)

Rather not fix it yourself? Let WP119 handle it automatically.

Errors caused by stale cache files or a lost object-cache backend are handled automatically: the system removes the stuck cache files and, when the cache backend is unreachable, removes the leftover configuration. Fixes are made on a copy of your site in the recovery station and written back only after re-verification passes. In your site’s database, the protected tables (members, comments, orders and form submissions) are copied as structure only. In SSH and FTP mode, the system creates a pre-recovery backup on your host before writing back and restores from it if verification after write-back fails. If the recovery cannot be completed, the recovery fee is refunded in full.

  1. Initial assessment: Site URL entry
  2. Copy to the recovery station: Work on a copy
  3. Diagnosis: Item-by-item checks
  4. Recovery and verification: Home and inner pages
  5. Write-back or delivery: Only after verification passes

Use WP119 when this message stops the site or the admin area from loading.

Check my site →
Initial assessment →