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

Notice: Array to string conversion #9

Open
Avtonom opened this issue Jul 18, 2017 · 1 comment
Open

Notice: Array to string conversion #9

Avtonom opened this issue Jul 18, 2017 · 1 comment

Comments

@Avtonom
Copy link

Avtonom commented Jul 18, 2017

Notice: Array to string conversion
in 'name' => $this->callable.'',

In fact the variable contains:
$this->callable = ["object", "string"];

Exception trace:
 () at /vendor/mathielen/import-engine/src/Mathielen/ImportEngine/Storage/ServiceStorage.php:78
 Symfony\Component\Debug\ErrorHandler->handleError() at/vendor/mathielen/import-engine/src/Mathielen/ImportEngine/Storage/ServiceStorage.php:80

 Mathielen\ImportEngine\Storage\ServiceStorage->info() at /vendor/mathielen/import-engine/src/Mathielen/ImportEngine/Import/ImportBuilder.php:120

 Mathielen\ImportEngine\Import\ImportBuilder->build() at /vendor/mathielen/import-engine/src/Mathielen/ImportEngine/Import/ImportBuilder.php:103

app/config/config.yml

mathielen_import_engine:
    storageprovider:
        default:
            type: service
            services:
                my_service: ~
    importers:
        minimum_importer:
            target:
                type: file
                uri: "@='%kernel.root_dir%/../output_'~date('Y-m-d')~'.csv'"
                format: csv
$ php ./app/console importengine:import my_service.findAll -i minimum_importer -vvv
@Avtonom
Copy link
Author

Avtonom commented Jul 18, 2017

@mathielen ping

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