JKEYCHAIN-CLASS-001
JKeychain
JKeychain
JKeychain was removed. There is no compatibility plugin for it.
JKeychain → No core replacement — use env/secrets yourself
What you will see
- Class "JKeychain" not found
Symptoms people search
keychain fatal on CLI
Replace this code
Swap JKeychain for No core replacement — use env/secrets yourself.
Joomla 3
Remove or stop calling this
$kc = new JKeychain();Joomla 4 / 6
Use this instead
// Joomla 4+ has no JKeychain. Store secrets outside the repo.How to fix it
- 1Move secrets to environment or a vault.
- 2Do not expect a drop-in class.
Also known as
JKeychain
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()