000-CMS
avatar bjxrn
bjxrn
29 May 2013

When updating a Joomla installation from version 3.0.3 to 3.1.1 I encuontered the following error:

PHP Catchable fatal error: Argument 3 passed to JClientFtp::getInstance() must be an array, null given, called in /path/administrator/components/com_joomlaupdate/helpers/download.php on line 420 and defined in /path/libraries/joomla/client/ftp.php on line 192, referer: http://site/administrator/index.php?option=com_joomlaupdate

In administrator/components/com_joomlaupdate/helpers/download.php
// Connect the FTP client $ftp = JClientFtp::getInstance( $ftpOptions['host'], $ftpOptions['port'], null, $ftpOptions['user'], $ftpOptions['pass'] );

The default value for that third argument is array(), and replacing the null with array() seems to solve the issue.

avatar bjxrn bjxrn - open - 29 May 2013
avatar bjxrn bjxrn - open - 29 May 2013
avatar b2z
b2z - comment - 29 May 2013

Hi!

This tracker is for the Issue Tracker project. Please report your issue to the CMS at https://github.com/joomla/joomla-cms/issues/new (direct link to the new issue form).

avatar - close - 29 May 2013
avatar b2z b2z - close - 29 May 2013
avatar bjxrn
bjxrn - comment - 29 May 2013

@b2z Thanks for the link, and sorry about reporting in the wrong place.

The reason I reported it here, is because I found a link to this tracker on this page: http://developer.joomla.org/tracker/report-an-issue.html I have no idea who maintains that page, but maybe you could get them to update that link?

avatar mbabker
mbabker - comment - 29 May 2013

The developer portal has sub sections for each of the three large active projects under the Joomla banner: CMS, Framework, and this Issue Tracker. The page you were on refers specifically to this project. There's a very similar page for the CMS at http://developer.joomla.org/cms/report-an-issue.html.

It can be confusing at times, but we can see how we can improve things too.

avatar bjxrn
bjxrn - comment - 29 May 2013

Oh, I understand what you mean. I ran across the issue. Found the developer site and just clicked on the "Tracker" item because I figured the issue tracker information (for the CMS) would be there. I didn't get that the page was about the tracker project.

Thanks for clearing things up!

Add a Comment

Login with GitHub to post a comment