-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use correct parameter type (Fix #11082) #11086
Conversation
I have tested this item ✅ successfully on b47f466 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11086. |
I have tested this item ✅ successfully on b47f466 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11086. |
RTC |
The same change is needed on line 488 of the same file (file.php) |
@hkimgman - please create a new issue or even better a pull request. |
Thank you, will do On Tue, Aug 2, 2016 at 12:53 PM, Brian Teeman notifications@github.com
Henry Kingman |
Hi. I cannot upgrade any of my sites from 3.6.0 to 3.6.1 because as @hkingman states line 488 needs a change as well. I get this error: Catchable fatal error: Argument 3 passed to JClientFtp::getInstance() must be of the type array, null given, called in /libraries/joomla/filesystem/file.php on line 488 and defined in /libraries/joomla/client/ftp.php on line 194 Edit: Disabling the FTP layer in site configuration solved the issue so that I managed to upgrade. |
just change null to array() on line 488. The change was pulled, but I guess On Aug 4, 2016 1:25 AM, "hakanara" notifications@github.com wrote:
|
how could this be done ;) It is shipped with 3.6.1 |
Pull Request for Issue #11082
Summary of Changes
The third parameter is typehinted as an array so passing a null value is not allowed. Pass an array instead.
Testing Instructions
Code review.