You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever i try to put/delete or list files/directories it throws "ftp_chdir(): Invalid number of parameters" error. The only thing currently working is get
How to reproduce
Try to create/append content/delete/list a file(s) or directories
Workaround
The only way i got it to work is by commenting the line [122] in [FtpAdapter.php]:
ftp_chdir($this->connection, $this->connectionOptions->root());
The text was updated successfully, but these errors were encountered:
I'm not having a lot of luck debugging his, the version you specify doesn't correspond with the line-number you're reporting, which is odd: https://github.com/thephpleague/flysystem/blob/3.8.0/src/Ftp/FtpAdapter.php#L122 the last version that had this particular line was from more than 2 years ago. You've not specified your FTP adapter version btw, so it's a little bit hard to pin down. The error is also super weird, because the ftp_chdir function has always 2 parameters as far as I know.
Bug Report
Summary
Whenever i try to put/delete or list files/directories it throws "ftp_chdir(): Invalid number of parameters" error. The only thing currently working is get
How to reproduce
Try to create/append content/delete/list a file(s) or directories
Workaround
The only way i got it to work is by commenting the line [122] in [FtpAdapter.php]:
ftp_chdir($this->connection, $this->connectionOptions->root());
The text was updated successfully, but these errors were encountered: