News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Frotend > SendModel > Outdated pass by reference usage

Started by Pete, 16.04.2026 09:20:36

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pete

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
  •  
    The following users thanked this post: Arno

Arno

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.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  
    The following users thanked this post: Pete