New Deprecations
New deprecations to be aware of — and the recommended alternatives. For previously existing deprecations where the Joomla version in which they take effect has changed, see the Changed Deprecations page.
New Class Deprecations
The following classes are marked as deprecated in Joomla 5.4 and are scheduled for removal in Joomla 7.0. Where no alternative is listed, the functionality is considered obsolete and should not be relied upon in future code.
UCM System
In Joomla 3.2, the Unified Content Model (UCM) was introduced, which was supposed to be a universal system for all content in Joomla. The concept turned out to be not viable and the remnants of this have now been deprecated for removal in Joomla 7.0. The following classes have been deprecated without replacement:
- ❌
Joomla\CMS\Table\Ucm - ❌
Joomla\CMS\UCM\UCM - ❌
Joomla\CMS\UCM\UCMBase - ❌
Joomla\CMS\UCM\UCMContent - ❌
Joomla\CMS\UCM\UCMType
Related PR: 44910 – Deprecating UCM code
Random Image Module
45648 – Convert mod_random_image to service provider
- ❌ Avoid using the
getRandomImage()static method.- ✅ Instead use the non-static
getImage()method.
- ✅ Instead use the non-static
- ❌ Avoid using the
getImages()static method.- ✅ Instead use the non-static
getImagesFromFolder()method.
- ✅ Instead use the non-static
- ❌ Avoid using the
getFolder()static method.- ✅ Instead use the non-static
getSanitizedFolder()method.
- ✅ Instead use the non-static
CMSPlugin registerListeners()
43395 – CMSPlugin: deprecation for registerListeners
- ❌
registerListeners()is deprecated in bothJoomla\CMS\Extension\PluginInterfaceandJoomla\CMS\Plugin\CMSPlugin.- ✅ Instead, implement the
SubscriberInterface. The method is no longer required in this case.
- ✅ Instead, implement the
Table $_db, getDbo(), and setDbo()
45165 – Replace table _db with DatabaseAwareTrait
- ❌ Do not access the
Joomla\CMS\Table\Table::_dbproperty directly — it will be removed in the future. - ❌ Avoid using the
getDbo()andsetDbo()methods — they will also be removed.- ✅ Use
getDatabase()andsetDatabase()instead. Sample:$db = $this->getDatabase();$this->setDatabase($db);
- ✅ Use
FieldsPlugin $app Property
45695 – Deprecate app property in FieldsPlugin
File: administrator/components/com_fields/src/Plugin/FieldsPlugin.php
- ❌ The
$this->appproperty is deprecated in the fields plugins.- ✅ Instead, use
$this->getApplication()when the plugin is converted to service providers.
- ✅ Instead, use
New Language String Deprecations
New language string deprecations, planned for removal in Joomla! 6.0, are the following language keys:
- 45564 – Deprecate language string
- ❌ Avoid using the
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPDATES_INFO_TESTINGlanguage key.
- ❌ Avoid using the
- 45725 – Deprecate language string
- ❌ Avoid using the
COM_FINDER_CONFIG_HILIGHT_CONTENT_SEARCH_TERMS_LABELlanguage key.- ✅ Use
COM_FINDER_CONFIG_HIGHLIGHT_CONTENT_SEARCH_TERMS_LABELinstead.
- ✅ Use
- ❌ Avoid using the
- 45727 – Deprecate language string Mis_typed
- ❌ Avoid using the
JERROR_LAYOUT_MIS_TYPED_ADDRESSlanguage key.- ✅ Use
JERROR_LAYOUT_MISTYPED_ADDRESSinstead.
- ✅ Use
- ❌ Avoid using the
- 45706 – configurated
- ❌ Avoid using the
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATEDlanguage key.- ✅ Use
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGUREDinstead.
- ✅ Use
- ❌ Avoid using the
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURATED_ADMINlanguage key.- ✅ Use
PLG_SYSTEM_SCHEMAORG_FIELD_SCHEMA_DESCRIPTION_NOT_CONFIGURED_ADMINinstead.
- ✅ Use
- ❌ Avoid using the
Joomla 5.4.11 API compatibility notices
Developer heads-up: ApiController::allowDelete() in Joomla 8.0
Joomla 5.4.11 passes the current record data and primary-key field name to ApiController::allowDelete() when checking records for deletion. The base method still declares no parameters in Joomla 5.4.11, but is planned to accept them in Joomla 8.0. Third-party overrides can prepare now by accepting optional $data and $key arguments:
protected function allowDelete($data = [], $key = 'id'): bool
This is a forward-compatibility notice, not a change to the base method signature in Joomla 5.4.11. See the migration example.
Deprecated ApiController API access fallback
The temporary core.api checks in ApiController for create, edit, and delete operations are deprecated and intended for removal in Joomla 8.0. They provide compatibility for extensions that do not yet use ApiDispatcher; they do not replace extending Joomla\CMS\Dispatcher\ApiDispatcher, particularly for read requests and custom controller actions. See the Web Services migration notes.