jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.x - (This is the current version!) => Bugs! => Topic started by: Pete on 16.04.2026 09:20:36

Title: Frotend > SendModel > Outdated pass by reference usage
Post by: Pete on 16.04.2026 09:20:36
Hi,

in the frontend class class SendModel which extends ItemModel (Path: components/com_jdownloads/src/Model/SendModel.php) is still an outdated call with pass by reference in the method getItems().

I fixed my frontend by removing the pass by reference to: public function getItems($pk = null)

Can you please consider changing this within your source code for the next 4.1.x release.

- Joomla Version:  5.4.5
- Installed jDownloads Version (see jDownloads control page at the footer) > 4.1.2
- PHP Version: 8.3
- Use you the standard backend template? > yes
- It is a new Joomla 4 installation? > no
Title: Re: Frotend > SendModel > Outdated pass by reference usage
Post by: Arno on 20.04.2026 10:21:53
Hi Pete,
sorry for the late reply. I must have missed your post somehow.

I've had a look at it now, and it's been fixed in the next version, 4.1.4.