No Code Attached Yet
avatar cwdee
cwdee
28 Oct 2025

On the documentation page at https://manual.joomla.org/docs/5.4/general-concepts/database/select-data/, I believe the code example:
$db = Factory::getContainer()->get(\Joomla\Database\DatabaseInterface:class);
should read
$db = Factory::getContainer()->get(\Joomla\Database\DatabaseInterface::class);

The same error is also on this page for other Joomla versions.

avatar cwdee cwdee - open - 28 Oct 2025
avatar cwdee cwdee - change - 28 Oct 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 28 Oct 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Oct 2025
avatar heelc29
heelc29 - comment - 28 Oct 2025

Mistake happend here joomla/Manual#545 @HLeithner

This was already mention by AI review:
joomla/Manual#545 (comment) @rdeutz

avatar brianteeman
brianteeman - comment - 29 Oct 2025

Please close the issue here and create an issue in the repo for the manual https://github.com/joomla/Manual

avatar HLeithner HLeithner - change - 2 Nov 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-11-02 22:04:37
Closed_By HLeithner
avatar HLeithner HLeithner - close - 2 Nov 2025

Add a Comment

Login with GitHub to post a comment