JCACHE-LITE-001
JCacheStorageCachelite
Cache_Lite / JCacheStorageCacheLite
The PEAR Cache_Lite handler was removed.
JCacheStorageCachelite → File / Redis / Memcached storage — not Cache_Lite
What you will see
- Class "JCacheStorageCachelite" not found
- Class "Cache_Lite" not found
Symptoms people search
cache lite fatal · cachelite
Replace this code
Swap JCacheStorageCachelite for File / Redis / Memcached storage — not Cache_Lite.
Joomla 3
Remove or stop calling this
$config['cache_handler'] = 'cachelite';Joomla 4 / 6
Use this instead
Use file, redis, or memcached. Cache_Lite is not in Joomla 4.How to fix it
- 1Change Global Configuration cache handler.
- 2Remove cachelite from extension code.
Also known as
Cache_Lite · cachelite · JCacheStorageCachelite
There is no 1:1 swap for this one. The architecture changed. If you cannot rewrite it, Infyways can.
Related issues
- Joomla 3 → 4Joomla API
JRequest::getVar() and the whole JRequest API
JRequest::getVar() → $app->getInput()->get('id')
- Joomla 3 → 4Joomla API
JError / JException
JError::raiseError() → throw new RuntimeException() / try-catch
- Joomla 3 → 4Joomla API
isAdmin() / isSite()
$app->isAdmin() → $app->isClient('administrator') / isClient('site')
- Joomla 3 → 4Joomla API
Factory::getUri()
JFactory::getUri() → Uri::getInstance()
- Joomla 3 → 4Joomla API
Factory::getXml() / JXMLElement
JFactory::getXML() → SimpleXMLElement
- Joomla 3 → 4Joomla API
Factory::getEditor()
JFactory::getEditor() → Editor::getInstance()