Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Process] argv array in env resulting in "Array to string conversion" error #44197

Closed
@plandolt

Description

@plandolt

Symfony version(s) affected

5.3.11

Description

After upgrading the process component from 5.3.7 to 5.3.11 I sometimes get the following error:
Notice: Array to string conversion on https://github.com/symfony/symfony/blob/5.4/src/Symfony/Component/Process/Process.php#L344

A simple dump($k, $v) showed "argv" and [].

How to reproduce

not sure (yet) but version 5.3.11 required.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions