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.
@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?
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.
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!
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).