SQL
Joomla! 6
Joomla! 5
Joomla! 4
Database
Intermediate
List Enabled Third-Party Extensions Directly from #__extensions
Queries all enabled non-core extensions (protected = 0) for fast pre-upgrade audits on Joomla 4, 5 and 6.
sql/audit_third_party_extensions.sql
SELECT
extension_id,
type,
folder,
element,
name,
JSON_UNQUOTE(JSON_EXTRACT(manifest_cache, '$.version')) AS versao
FROM `#__extensions`
WHERE enabled = 1
AND protected = 0
AND extension_id >= 10000
ORDER BY type ASC, folder ASC, element ASC;
Replace #__ with your actual Joomla table prefix (e.g. jos_extensions).
Technical explanation and best practices
Before running a major Joomla upgrade or when troubleshooting a plugin-induced 500 error, this read-only query gives a clean inventory of every active third-party extension.