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

Array to String Conversion when importing a ZIP file #255

Closed
taylordaughtry opened this issue Nov 8, 2021 · 0 comments · Fixed by #261
Closed

Array to String Conversion when importing a ZIP file #255

taylordaughtry opened this issue Nov 8, 2021 · 0 comments · Fixed by #261
Assignees
Labels
type: bug Something isn't working

Comments

@taylordaughtry
Copy link
Contributor

I'm gathering more specific information on replication now, but I thought I'd go ahead and open an issue to see if this is a known-bug just yet! My client was uploading a ZIP file they recieved from the Acclaro team after translation, and after uploading the file ran into the error in the stack trace below!

I think the offending line could be here, but I haven't taken a deep-dive into it just yet.

Stack trace:

yii\base\ErrorException: Array to string conversion in /app/vendor/acclaro/translations/src/services/job/ImportFiles.php:98
Stack trace:
#0 /app/vendor/craftcms/cms/src/web/ErrorHandler.php(84): yii\base\ErrorHandler->handleError(8, 'Array to string...', '/app/vendor/acc...', 98)
#1 /app/vendor/acclaro/translations/src/services/job/ImportFiles.php(98): craft\web\ErrorHandler->handleError(8, 'Array to string...', '/app/vendor/acc...', 98, Array)
#2 /app/vendor/acclaro/translations/src/controllers/FilesController.php(312): acclaro\translations\services\job\ImportFiles->processFile(Object(craft\elements\Asset), Object(acclaro\translations\elements\Order), 'zip', Array)
#3 [internal function]: acclaro\translations\controllers\FilesController->actionImportFile()
#4 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#5 /app/vendor/yiisoft/yii2/base/Controller.php(181): yii\base\InlineAction->runWithParams(Array)
#6 /app/vendor/yiisoft/yii2/base/Module.php(534): yii\base\Controller->runAction('import-file', Array)
#7 /app/vendor/craftcms/cms/src/web/Application.php(277): yii\base\Module->runAction('translations/fi...', Array)
#8 /app/vendor/craftcms/cms/src/web/Application.php(586): craft\web\Application->runAction('translations/fi...', Array)
#9 /app/vendor/craftcms/cms/src/web/Application.php(256): craft\web\Application->_processActionRequest(Object(craft\web\Request))
#10 /app/vendor/yiisoft/yii2/base/Application.php(392): craft\web\Application->handleRequest(Object(craft\web\Request))
#11 /app/web/index.php(24): yii\base\Application->run()
#12 {main}
@sidedwards sidedwards added the type: bug Something isn't working label Nov 9, 2021
@sidedwards sidedwards added this to the 📦 Release v2.0.4 milestone Nov 9, 2021
@sidedwards sidedwards linked a pull request Nov 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants