Skip to content
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

Exception 'ArgumentCountError' #28

Open
xudongding opened this issue Jul 26, 2024 · 0 comments
Open

Exception 'ArgumentCountError' #28

xudongding opened this issue Jul 26, 2024 · 0 comments

Comments

@xudongding
Copy link

Exception 'ArgumentCountError' with message 'Too few arguments to function gftp\drivers\FtpDriver::gftp\drivers{closure}(), 4 passed and exactly 5 expected'

in E:\Web\project\vendor\hguenot\yii2-gftp\drivers\FtpDriver.php:1030

Stack trace:
#0 [internal function]: gftp\drivers\FtpDriver::gftp\drivers{closure}(2, 'ftp_systype(): ...', 'E:\Web\...', 674)
#1 E:\Web\project\vendor\hguenot\yii2-gftp\drivers\FtpDriver.php(674): ftp_systype(Object(FTP\Connection))
#2 E:\Web\project\vendor\hguenot\yii2-gftp\drivers\FtpDriver.php(233): gftp\drivers\FtpDriver->systype()
#3 E:\Web\project\vendor\hguenot\yii2-gftp\FtpComponent.php(174): gftp\drivers\FtpDriver->connect()
#4 E:\Web\project\vendor\hguenot\yii2-gftp\FtpComponent.php(151): gftp\FtpComponent->connect()
#5 E:\Web\project\vendor\hguenot\yii2-gftp\FtpComponent.php(261): gftp\FtpComponent->connectIfNeeded()
#6 E:\Web\project\common\components\platforms\Test.php(120): gftp\FtpComponent->chdir('/Test/...')
#7 E:\Web\project\console\controllers\OrderController.php(60): common\components\platforms\Test->getOrders(64)
#8 [internal function]: console\controllers\OrderController->actionPull('test', 0, true)
#9 E:\Web\project\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#10 E:\Web\project\vendor\yiisoft\yii2\base\Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#11 E:\Web\project\vendor\yiisoft\yii2\console\Controller.php(180): yii\base\Controller->runAction('pull', Array)
#12 E:\Web\project\vendor\yiisoft\yii2\base\Module.php(552): yii\console\Controller->runAction('pull', Array)
#13 E:\Web\project\vendor\yiisoft\yii2\console\Application.php(180): yii\base\Module->runAction('order/pull', Array)
#14 E:\Web\project\vendor\yiisoft\yii2\console\Application.php(147): yii\console\Application->runAction('order/pull', Array)
#15 E:\Web\project\vendor\yiisoft\yii2\base\Application.php(384): yii\console\Application->handleRequest(Object(yii\console\Request))
#16 E:\Web\project\yii(23): yii\base\Application->run()
#17 {main}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant