Skip to content

Array to string conversion error on export #1

@Beagon

Description

@Beagon

Hi,

First of all, thanks for this module it really helps us out however:

We're encountering the following issue when we want to export the rules:
{"0":"Notice: Array to string conversion in \/data\/web\/deploy\/releases\/20201019083410\/vendor\/magento\/framework\/Filesystem\/Driver\/File.php on line 782","1":"#1 Magento\\Framework\\Filesystem\\Driver\\File->filePutCsv() called at [vendor\/magento\/framework\/Filesystem\/File\/Write.php:75]\n#2 Magento\\Framework\\Filesystem\\File\\Write->writeCsv() called at [vendor\/magento\/module-ui\/Model\/Export\/ConvertToCsv.php:90]\n#3 Magento\\Ui\\Model\\Export\\ConvertToCsv->getCsvFile() called at [vendor\/magento\/module-ui\/Controller\/Adminhtml\/Export\/GridToCsv.php:70]\n#4 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv->execute() called at [vendor\/magento\/framework\/App\/Action\/Action.php:108]\n#5 Magento\\Framework\\App\\Action\\Action->dispatch() called at [vendor\/magento\/module-backend\/App\/AbstractAction.php:231]\n#6 Magento\\Backend\\App\\AbstractAction->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#7 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#8 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-backend\/App\/Action\/Plugin\/Authentication.php:143]\n#9 Magento\\Backend\\App\\Action\\Plugin\\Authentication->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#10 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#11 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Ui\/Controller\/Adminhtml\/Export\/GridToCsv\/Interceptor.php:26]\n#12 Magento\\Ui\\Controller\\Adminhtml\\Export\\GridToCsv\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/FrontController.php:159]\n#13 Magento\\Framework\\App\\FrontController->processRequest() called at [vendor\/magento\/framework\/App\/FrontController.php:99]\n#14 Magento\\Framework\\App\\FrontController->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#15 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#16 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#17 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]\n#18 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/Http.php:116]\n#19 Magento\\Framework\\App\\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#20 Magento\\Framework\\App\\Bootstrap->run() called at [pub\/index.php:40]\n","url":"\/admin\/mui\/export\/gridToCsv\/key\/7908fc16f362bbe3225c9f89e129de2c197bdb2eab18f972bc7a2b6a0e771f1b\/?filters%5Bplaceholder%5D=true&search=&namespace=mfdynamiccategory_listing&excluded=false","script_name":"\/index.php","report_id":"77bf96a640cb95df9c03dd10b876d326e01e00371dd5102a4d769c5906635e71"}

Magento version: 2.3.5-p2 Community
Module version: 2.0.7

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions