JCACHE-TEST-001

JCacheStorage::test()

JCacheStorage::test() / output start-end

test() became isSupported(). Output cache start/end were removed.

JCacheStorage::test()isSupported(); output cache start/end removed

Dies at Joomla 3 → 4J3: Works nativelyJ4: Removed — fatalJ6: Removed — fatalBC plugin: no — already dead on J4Patch possible — review itJoomla API

What you will see

  • Call to undefined method ...::test
  • Call to undefined method ...::start

Symptoms people search

memcache test fatal · output cache

Replace this code

Swap JCacheStorage::test() for isSupported(); output cache start/end removed.

Joomla 3

Remove or stop calling this

if (JCacheStorageMemcache::test()) {}
$cache->start($id); ... $cache->end();

Joomla 4 / 6

Use this instead

if (MemcachedStorage::isSupported()) {}
// Do not use CacheControllerOutput::start/end — they are gone.

How to fix it

  1. 1Rename test() to isSupported().
  2. 2Rewrite output caching; do not call start/end.

Also known as

JCacheStorage::test · CacheControllerOutput

There is no 1:1 swap for this one. The architecture changed. If you cannot rewrite it, Infyways can.

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.